chore(repo): run repo checks in parallel to lint test build (#11686)
This commit is contained in:
parent
c8c9efab62
commit
ace06fbed0
@ -170,22 +170,24 @@ jobs:
|
|||||||
- nx/set-shas:
|
- nx/set-shas:
|
||||||
main-branch-name: 'master'
|
main-branch-name: 'master'
|
||||||
- run: npx nx-cloud start-ci-run --stop-agents-after="e2e"
|
- run: npx nx-cloud start-ci-run --stop-agents-after="e2e"
|
||||||
- run: npx nx-cloud record yarn check-imports
|
|
||||||
- run: npx nx-cloud record yarn nx format:check --base=$NX_BASE --head=$NX_HEAD
|
|
||||||
- run: npx nx-cloud record yarn check-commit
|
|
||||||
- run: npx nx-cloud record yarn check-lock-files
|
|
||||||
- run: npx nx-cloud record yarn depcheck
|
|
||||||
- run:
|
- run:
|
||||||
name: Check Documentation
|
name: Check Documentation
|
||||||
command: npx nx-cloud record yarn documentation
|
command: npx nx-cloud record yarn documentation
|
||||||
no_output_timeout: 20m
|
no_output_timeout: 20m
|
||||||
- run:
|
- run:
|
||||||
name: Run Lint/Test/Build/E2E
|
name: Run Checks/Lint/Test/Build
|
||||||
no_output_timeout: 45m
|
|
||||||
command: |
|
command: |
|
||||||
pids=()
|
pids=()
|
||||||
|
|
||||||
(yarn nx affected --target=build --base=$NX_BASE --head=$NX_HEAD --parallel=3 && npx nx affected --target=e2e --base=$NX_BASE --head=$NX_HEAD --exclude=e2e-storybook,e2e-storybook-angular,e2e-react-native,e2e-detox,e2e-make-angular-cli-faster --parallel=1) &
|
(npx nx-cloud record yarn check-imports &&
|
||||||
|
npx nx-cloud record yarn nx format:check --base=$NX_BASE --head=$NX_HEAD &&
|
||||||
|
npx nx-cloud record yarn check-commit &&
|
||||||
|
npx nx-cloud record yarn check-lock-files &&
|
||||||
|
npx nx-cloud record yarn depcheck) &
|
||||||
|
pids+=($!)
|
||||||
|
|
||||||
|
(yarn nx affected --target=build --base=$NX_BASE --head=$NX_HEAD --parallel=3 &&
|
||||||
|
npx nx affected --target=e2e --base=$NX_BASE --head=$NX_HEAD --exclude=e2e-storybook,e2e-storybook-angular,e2e-react-native,e2e-detox,e2e-make-angular-cli-faster --parallel=1) &
|
||||||
pids+=($!)
|
pids+=($!)
|
||||||
(npx nx-cloud record yarn nx workspace-lint && yarn nx affected --target=lint --base=$NX_BASE --head=$NX_HEAD --parallel=3) &
|
(npx nx-cloud record yarn nx workspace-lint && yarn nx affected --target=lint --base=$NX_BASE --head=$NX_HEAD --parallel=3) &
|
||||||
pids+=($!)
|
pids+=($!)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user