perf(ci): shard frontend checks and vitest suites
This commit is contained in:
1 parent
3100a918cc
commit
cf6467ab08
8 files changed
+258
-27
No files matched your search
+1
-2
@@ -22,8 +22,7 @@ export default defineConfig({
|
||||
// import at once, CPU contention can stall a worker's event loop past the
|
||||
// old 5s default and flake deferred-promise tests. A 10s timeout absorbs
|
||||
// that without capping throughput, so workers can scale past 4. CI keeps
|
||||
// 4 workers: its 4-vCPU runners already run vue-tsc/oxlint/oxfmt
|
||||
// concurrently with vitest via `pnpm check`.
|
||||
// 4 workers to match each runner's CPU count.
|
||||
testTimeout: 10_000,
|
||||
maxWorkers: process.env.CI ? 4 : 8,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user