mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-07-09 15:05:59 +00:00
ci: raise Node heap for the client coverage run to fix OOM (#1258)
This commit is contained in:
@@ -126,6 +126,10 @@ jobs:
|
|||||||
run: cd client && npm run lint:pages
|
run: cd client && npm run lint:pages
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
env:
|
||||||
|
# Vitest + v8 coverage across 150+ files exceeds Node's default ~4 GB
|
||||||
|
# heap and OOM'd; give it headroom on the 16 GB runner.
|
||||||
|
NODE_OPTIONS: --max-old-space-size=6144
|
||||||
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