From fe239de99bce28aa0dc050b96a05d9e96711ceca Mon Sep 17 00:00:00 2001 From: jt Date: Fri, 24 Jul 2026 21:32:22 -0700 Subject: [PATCH] Raise Node heap for release builds to fix macOS OOM vite build died with "JavaScript heap out of memory" on both macOS runners (7GB RAM, default Node heap cap) now that the bundle includes Monaco. Give the build step a 4GB old-space limit. Co-Authored-By: Claude Fable 5 --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37f1256..4b4294a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,6 +72,8 @@ jobs: uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # vite build OOMs under Node's default heap cap on the 7GB macOS runners + NODE_OPTIONS: --max-old-space-size=4096 with: tagName: ${{ github.ref_name }} releaseName: 'LitePost ${{ github.ref_name }}'