Skip to content

Commit 848a3e1

Browse files
committed
fix: Increase Node heap size to 6GB for CI tests
- Set NODE_OPTIONS --max_old_space_size=6144 (6GB) - GitHub Actions runners have 7GB RAM available - Should prevent OOM errors during 10-minute serial test run - All 294 tests pass, just need more heap space
1 parent 7fd4617 commit 848a3e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333

3434
- name: Run tests with coverage
3535
run: npm run test:coverage -- --maxWorkers=1
36+
env:
37+
NODE_OPTIONS: --max_old_space_size=6144
3638

3739
- name: Upload coverage to Codecov
3840
if: matrix.node-version == '20.x'

0 commit comments

Comments
 (0)