mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
Merge pull request #17878 from storybookjs/tech/change-ci-parallelism-bootstrap
CI: set parallelism of nx to 2
This commit is contained in:
commit
dd7967de83
@ -92,7 +92,7 @@ jobs:
|
||||
command: yarn install --immutable
|
||||
- run:
|
||||
name: Bootstrap
|
||||
command: yarn bootstrap --core
|
||||
command: yarn bootstrap --build --manager
|
||||
- save_cache:
|
||||
name: Save Yarn cache
|
||||
key: build-yarn-2-cache-v3--{{ checksum "yarn.lock" }}
|
||||
|
2
scripts/bootstrap.js
vendored
2
scripts/bootstrap.js
vendored
@ -103,7 +103,7 @@ function run() {
|
||||
command: () => {
|
||||
log.info(prefix, 'prepare');
|
||||
spawn(
|
||||
`nx run-many --target="prepare" --all --parallel ${
|
||||
`nx run-many --target="prepare" --all --parallel=2 ${
|
||||
process.env.CI ? `--max-parallel=${maxConcurrentTasks}` : ''
|
||||
} -- --optimized`
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user