2021-06-16 17:58:22 +03:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-09-06 22:47:09 +03:00
|
|
|
branches: [main]
|
2021-06-16 17:58:22 +03:00
|
|
|
pull_request:
|
2021-09-06 22:47:09 +03:00
|
|
|
branches: [main]
|
2021-06-16 17:58:22 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2021-09-18 07:19:35 +03:00
|
|
|
runs-on: ubuntu-latest
|
2021-06-16 17:58:22 +03:00
|
|
|
|
|
|
|
steps:
|
2022-03-04 01:57:40 +03:00
|
|
|
- uses: actions/checkout@v3
|
2022-02-26 17:57:20 +03:00
|
|
|
- uses: actions/setup-node@v3
|
2022-01-23 01:17:29 +03:00
|
|
|
with:
|
|
|
|
node-version: 'lts/*'
|
|
|
|
cache: 'yarn'
|
2021-09-16 00:25:49 +03:00
|
|
|
- run: yarn install
|
2021-09-19 02:47:03 +03:00
|
|
|
- run: yarn format:check
|
2021-06-16 17:58:22 +03:00
|
|
|
- run: yarn build:all
|
|
|
|
- run: yarn lint:all
|
2021-09-18 07:19:35 +03:00
|
|
|
- name: Run yarn test:all
|
|
|
|
uses: GabrielBB/xvfb-action@v1
|
|
|
|
with:
|
|
|
|
run: yarn test:all
|