Skip to content

Commit

Permalink
Update publish-to-npm.yaml
Browse files Browse the repository at this point in the history
Adding workaround for JavaScript heap out of memory
  • Loading branch information
nebojsact authored Jan 9, 2025
1 parent d76b517 commit 688180f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-to-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ jobs:
run: npm ci
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_OPTIONS: --max_old_space_size=8192

- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_OPTIONS: --max_old_space_size=8192

0 comments on commit 688180f

Please sign in to comment.