redux-devtools/.github/workflows/CI.yml
2022-01-22 22:17:29 +00:00

27 lines
501 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 'lts/*'
cache: 'yarn'
- run: yarn install
- run: yarn format:check
- run: yarn build:all
- run: yarn lint:all
- name: Run yarn test:all
uses: GabrielBB/xvfb-action@v1
with:
run: yarn test:all