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:
|
2023-10-04 10:23:43 +03:00
|
|
|
node-version: "18"
|
2021-08-18 10:18:09 +03:00
|
|
|
- name: Install dependencies
|
|
|
|
run: yarn --frozen-lockfile
|
|
|
|
- name: Run tests
|
|
|
|
run: yarn test
|