mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
Update
This commit is contained in:
parent
6ff53d0419
commit
1e35defb95
17
.github/workflows/CI.yml
vendored
17
.github/workflows/CI.yml
vendored
|
@ -14,16 +14,21 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- uses: nrwl/nx-set-shas@v2
|
||||||
- uses: pnpm/action-setup@v2
|
- uses: pnpm/action-setup@v2
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
- run: pnpm install
|
- name: Install dependencies
|
||||||
- run: pnpm run format:check
|
run: pnpm install
|
||||||
- run: pnpm run build:since
|
- name: Check formatting
|
||||||
- run: pnpm run lint:since
|
run: pnpm run format:check
|
||||||
- name: Run pnpm test:since
|
- name: Build
|
||||||
|
run: pnpm run nx affected --target=build --parallel=3
|
||||||
|
- name: Lint
|
||||||
|
run: pnpm run nx affected --target=lint --parallel=3
|
||||||
|
- name: Test
|
||||||
uses: GabrielBB/xvfb-action@v1
|
uses: GabrielBB/xvfb-action@v1
|
||||||
with:
|
with:
|
||||||
run: pnpm run test:since
|
run: pnpm run nx affected --target=test --parallel=3
|
||||||
|
|
|
@ -21,11 +21,8 @@
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"format:check": "prettier --check .",
|
"format:check": "prettier --check .",
|
||||||
"build:all": "nx run-many --target=build --all",
|
"build:all": "nx run-many --target=build --all",
|
||||||
"build:since": "nx affected --target=build",
|
|
||||||
"lint:all": "nx run-many --target=lint --all",
|
"lint:all": "nx run-many --target=lint --all",
|
||||||
"lint:since": "nx affected --target=lint",
|
|
||||||
"test:all": "nx run-many --target=test --all",
|
"test:all": "nx run-many --target=test --all",
|
||||||
"test:since": "nx affected --target=test",
|
|
||||||
"release": "pnpm build:all && changeset publish"
|
"release": "pnpm build:all && changeset publish"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user