diff --git a/.circleci/config.yml b/.circleci/config.yml index 5a0b8af973..c7a715eab2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -170,22 +170,24 @@ jobs: - nx/set-shas: main-branch-name: 'master' - 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: name: Check Documentation command: npx nx-cloud record yarn documentation no_output_timeout: 20m - run: - name: Run Lint/Test/Build/E2E - no_output_timeout: 45m + name: Run Checks/Lint/Test/Build command: | 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+=($!) (npx nx-cloud record yarn nx workspace-lint && yarn nx affected --target=lint --base=$NX_BASE --head=$NX_HEAD --parallel=3) & pids+=($!)