mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-10 19:56:54 +03:00
Build updates (#1272)
The CI seems to faster with parallel=1. Also avoid unnecessarily building the extension again while testing.
This commit is contained in:
parent
cac62d6e8d
commit
c2dae52c95
6
.github/workflows/CI.yml
vendored
6
.github/workflows/CI.yml
vendored
|
@ -25,10 +25,10 @@ jobs:
|
|||
- name: Check formatting
|
||||
run: pnpm run format:check
|
||||
- name: Build
|
||||
run: pnpm exec nx affected --target=build --parallel=3
|
||||
run: pnpm exec nx affected --target=build --parallel=1
|
||||
- name: Lint
|
||||
run: pnpm exec nx affected --target=lint --parallel=3
|
||||
run: pnpm exec nx affected --target=lint --parallel=1
|
||||
- name: Test
|
||||
uses: GabrielBB/xvfb-action@v1
|
||||
with:
|
||||
run: pnpm exec nx affected --target=test --parallel=3
|
||||
run: pnpm exec nx affected --target=test --parallel=1
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
"test:app": "cross-env BABEL_ENV=test jest test/app",
|
||||
"test:chrome": "jest test/chrome",
|
||||
"test:electron": "pnpm run build:test:electron:fixture && jest test/electron",
|
||||
"test": "pnpm run test:app && pnpm run build:extension && pnpm run test:chrome && pnpm run test:electron",
|
||||
"test": "pnpm run test:app && pnpm run test:chrome && pnpm run test:electron",
|
||||
"build:test:electron:fixture": "webpack --config test/electron/fixture/webpack.config.js",
|
||||
"type-check": "tsc --noEmit"
|
||||
},
|
||||
|
|
|
@ -20,10 +20,10 @@
|
|||
"scripts": {
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check .",
|
||||
"build:all": "nx run-many --target=build --all",
|
||||
"lint:all": "nx run-many --target=lint --all",
|
||||
"test:all": "nx run-many --target=test --all",
|
||||
"clean:all": "nx run-many --target=clean --all",
|
||||
"build:all": "nx run-many --target=build --all --parallel=1",
|
||||
"lint:all": "nx run-many --target=lint --all --parallel=1",
|
||||
"test:all": "nx run-many --target=test --all --parallel=1",
|
||||
"clean:all": "nx run-many --target=clean --all --parallel=1",
|
||||
"release": "pnpm build:all && changeset publish"
|
||||
},
|
||||
"workspaces": [
|
||||
|
|
Loading…
Reference in New Issue
Block a user