redux-devtools/.github/workflows/CI.yml

35 lines
717 B
YAML
Raw Normal View History

name: CI
on:
push:
2021-09-06 22:47:09 +03:00
branches: [main]
pull_request:
2021-09-06 22:47:09 +03:00
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: nrwl/nx-set-shas@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
2022-01-23 01:17:29 +03:00
with:
node-version: 'lts/*'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Check formatting
run: pnpm run format:check
- name: Build
run: pnpm run build:all
- name: Lint
run: pnpm run lint:all
- name: Test
uses: GabrielBB/xvfb-action@v1
with:
run: pnpm run test:all