Commit 272b196
committed
ci: serialize test files to avoid parallel dist/ build races
Multiple suites (cli.subprocess, help.snapshot, credentials lock) each run
npm run build in beforeAll. With fileParallelism enabled, workers can corrupt
dist/ mid-run and subprocess smoke tests flake with exit 1. Run build once in
CI before npm test and disable vitest file parallelism.1 parent 8587c77 commit 272b196
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
0 commit comments