Skip to content

Commit

Permalink
[ENG-1073] Fix Vite running out of memory in release builds (spacedri…
Browse files Browse the repository at this point in the history
…veapp#1294)

* increase node max ram usage

* add NODE_OPTIONS to release workflow

* add sentry token to release workflow

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
  • Loading branch information
Brendonovich and brxken128 authored Sep 4, 2023
1 parent e7fbdb4 commit c834ebc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ jobs:
APPLE_PROVIDER_SHORT_NAME: ${{ secrets.APPLE_PROVIDER_SHORT_NAME }}
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
NODE_OPTIONS: --max-old-space-size=4096

- name: Publish Artifacts
uses: ./.github/actions/publish-artifacts
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ prefer-symlinked-executables=false
strict-peer-dependencies=false
node-linker=hoisted
auto-install-peers=true
max-old-space-size=4096

0 comments on commit c834ebc

Please sign in to comment.