Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

ci: raise Node heap for the client coverage run to fix OOM (#1258)

Maurice1e4a9a95c2da
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 20f1864b2..1e61f41e9 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -126,6 +126,10 @@ jobs:
run: cd client && npm run lint:pages
- 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
- name: Upload coverage