mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-24 02:23:57 +03:00
eba12e74f0
* chore(deps): update nrwl monorepo * Add .nx/cache to gitignore --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nathan Bierema <nbierema@gmail.com>
35 lines
716 B
YAML
35 lines
716 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: nrwl/nx-set-shas@v4
|
|
- uses: pnpm/action-setup@v2
|
|
- uses: actions/setup-node@v4
|
|
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: coactions/setup-xvfb@v1
|
|
with:
|
|
run: pnpm run test:all
|