mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-07-09 15:05:59 +00:00
ci: raise client coverage heap to 12 GB for the v8 report phase (#1258)
This commit is contained in:
@@ -127,9 +127,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
env:
|
env:
|
||||||
# Vitest + v8 coverage across 150+ files exceeds Node's default ~4 GB
|
# Vitest's main process accumulates v8 coverage + verbose results across
|
||||||
# heap and OOM'd; give it headroom on the 16 GB runner.
|
# 150+ files; the peak exceeds Node's default ~4 GB heap (and 6 GB), so
|
||||||
NODE_OPTIONS: --max-old-space-size=6144
|
# give it generous headroom on the 16 GB runner.
|
||||||
|
NODE_OPTIONS: --max-old-space-size=12288
|
||||||
run: cd client && npm run test:coverage
|
run: cd client && npm run test:coverage
|
||||||
|
|
||||||
- name: Upload coverage
|
- name: Upload coverage
|
||||||
|
|||||||
Reference in New Issue
Block a user