Skip to content

Commit

Permalink
Fixes workflow memory issue
Browse files Browse the repository at this point in the history
  • Loading branch information
milanholemans authored and martinlingstuyl committed Feb 3, 2025
1 parent 687bc88 commit d898858
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
# we run coverage only on Node that was used to build
if: matrix.nodeRun == matrix.nodeBuild
run: npm test
env:
NODE_OPTIONS: '--max_old_space_size=4096'
- name: Test without coverage
# we want to run tests on older Node versions to ensure that code works
if: matrix.nodeRun != matrix.nodeBuild
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release_next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ jobs:
# we run coverage only on Node that was used to build
if: matrix.nodeRun == matrix.nodeBuild
run: npm test
env:
NODE_OPTIONS: '--max_old_space_size=4096'
- name: Test without coverage
# we want to run tests on older Node versions to ensure that code works
if: matrix.nodeRun != matrix.nodeBuild
Expand Down

0 comments on commit d898858

Please sign in to comment.