chore(repo): run lint and test before e2e for fast failure (#12263)
This commit is contained in:
parent
b2e1244502
commit
70b31a341c
@ -189,13 +189,13 @@ jobs:
|
|||||||
npx nx-cloud record yarn depcheck) &
|
npx nx-cloud record yarn depcheck) &
|
||||||
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) &
|
|
||||||
pids+=($!)
|
|
||||||
yarn nx affected --target=lint --base=$NX_BASE --head=$NX_HEAD --parallel=3 &
|
yarn nx affected --target=lint --base=$NX_BASE --head=$NX_HEAD --parallel=3 &
|
||||||
pids+=($!)
|
pids+=($!)
|
||||||
yarn nx affected --target=test --base=$NX_BASE --head=$NX_HEAD --parallel=1 &
|
yarn nx affected --target=test --base=$NX_BASE --head=$NX_HEAD --parallel=1 &
|
||||||
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) &
|
||||||
|
pids+=($!)
|
||||||
for pid in "${pids[@]}"; do
|
for pid in "${pids[@]}"; do
|
||||||
wait "$pid"
|
wait "$pid"
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user