perf(ci): parallelize coverage and web snapshots in-job

This commit is contained in:
imccyu
2026-08-18 21:15:20 +08:00
parent c119710560
commit ef75b6ff2f
44 changed files with 964 additions and 134 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ export default defineConfig({
'apps/web/tests/**/*.e2e.ts',
'apps/web/tests/**/*.snapshot.ts',
],
// Browser boot + real-model turns are slow; files share one browser, run serial.
// Local and record runs stay serial. CI runs workspace-mutating HMR and
// dynamic Cordis lifecycle coverage before parallelizing the remaining files.
testTimeout: 180_000,
hookTimeout: 120_000,
fileParallelism: false,