perf: cap CI test workers at 4 to protect shared production host
This commit is contained in:
1 parent
5a79090942
commit
8a911f2cf6
2 files changed
+3
-3
No files matched your search
@@ -53,9 +53,9 @@ jobs:
|
||||
BCRYPT_ROUNDS: 4
|
||||
run: |
|
||||
if [ -x /usr/bin/time ]; then
|
||||
/usr/bin/time -f 'Tests: %e seconds; peak process RSS: %M KiB' pnpm test:coverage --maxWorkers=6
|
||||
/usr/bin/time -f 'Tests: %e seconds; peak process RSS: %M KiB' pnpm test:coverage --maxWorkers=4
|
||||
else
|
||||
time pnpm test:coverage --maxWorkers=6
|
||||
time pnpm test:coverage --maxWorkers=4
|
||||
fi
|
||||
|
||||
# ─────────────────────────────────────────────
|
||||
|
||||
Reference in new issue
Block a user