Skip to content

Commit

Permalink
ci(test): increase node memory
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Apr 28, 2024
1 parent dc2e783 commit 52150f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
# - Force exit to prevent hanging
- name: Run tests
run: npx jest --coverage --runInBand --testTimeout=900000 --forceExit
env:
# Tell Node.js how much un-garbage-collected-memory it can
# allow for to prevent it running out (in Mb)
NODE_OPTIONS: --max_old_space_size=16384

- name: Release package
if: github.ref == 'refs/heads/master'
Expand Down

0 comments on commit 52150f1

Please sign in to comment.