2021-08-18 10:18:09 +03:00
|
|
|
name: build-test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: ["master"]
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2023-09-05 09:23:03 +03:00
|
|
|
uses: actions/checkout@v4
|
2021-08-18 10:18:09 +03:00
|
|
|
- name: Setup node
|
2023-01-24 12:07:29 +03:00
|
|
|
uses: actions/setup-node@v3
|
2021-08-18 10:18:09 +03:00
|
|
|
with:
|
2022-07-30 14:18:22 +03:00
|
|
|
node-version: 16
|
2021-08-18 10:18:09 +03:00
|
|
|
- name: Install dependencies
|
|
|
|
run: yarn --frozen-lockfile
|
|
|
|
- name: Run tests
|
|
|
|
run: yarn test
|