Skip to content

Commit 688180f

Browse files
authored
Update publish-to-npm.yaml
Adding workaround for JavaScript heap out of memory
1 parent d76b517 commit 688180f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish-to-npm.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ jobs:
2626
run: npm ci
2727
env:
2828
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
29+
NODE_OPTIONS: --max_old_space_size=8192
2930

3031
- name: Publish to npm
3132
run: npm publish
3233
env:
3334
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
35+
NODE_OPTIONS: --max_old_space_size=8192

0 commit comments

Comments
 (0)