mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-25 19:13:56 +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
|
- name: Check formatting
|
||||||
run: pnpm run format:check
|
run: pnpm run format:check
|
||||||
- name: Build
|
- name: Build
|
||||||
run: pnpm exec nx affected --target=build --parallel=3
|
run: pnpm exec nx affected --target=build --parallel=1
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: pnpm exec nx affected --target=lint --parallel=3
|
run: pnpm exec nx affected --target=lint --parallel=1
|
||||||
- name: Test
|
- name: Test
|
||||||
uses: GabrielBB/xvfb-action@v1
|
uses: GabrielBB/xvfb-action@v1
|
||||||
with:
|
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:app": "cross-env BABEL_ENV=test jest test/app",
|
||||||
"test:chrome": "jest test/chrome",
|
"test:chrome": "jest test/chrome",
|
||||||
"test:electron": "pnpm run build:test:electron:fixture && jest test/electron",
|
"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",
|
"build:test:electron:fixture": "webpack --config test/electron/fixture/webpack.config.js",
|
||||||
"type-check": "tsc --noEmit"
|
"type-check": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
|
|
|
@ -20,10 +20,10 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"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 --parallel=1",
|
||||||
"lint:all": "nx run-many --target=lint --all",
|
"lint:all": "nx run-many --target=lint --all --parallel=1",
|
||||||
"test:all": "nx run-many --target=test --all",
|
"test:all": "nx run-many --target=test --all --parallel=1",
|
||||||
"clean:all": "nx run-many --target=clean --all",
|
"clean:all": "nx run-many --target=clean --all --parallel=1",
|
||||||
"release": "pnpm build:all && changeset publish"
|
"release": "pnpm build:all && changeset publish"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user