From 59408bbebdeecab0c5629f5e885d476a0ecd1984 Mon Sep 17 00:00:00 2001 From: lucaronin Date: Tue, 5 May 2026 17:23:18 +0200 Subject: [PATCH] fix: raise CI Node heap for release builds --- .github/workflows/ci.yml | 2 ++ .github/workflows/release-stable.yml | 3 +++ .github/workflows/release.yml | 3 +++ 3 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dca5954f..1b1c33c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,8 @@ permissions: env: # Bump this when Tauri/Rust target artifacts capture stale absolute paths. RUST_TARGET_CACHE_VERSION: v2026-04-14-tolaria + # Keep large production frontend builds below CI runner memory limits. + NODE_OPTIONS: --max-old-space-size=4096 jobs: frontend-quality: diff --git a/.github/workflows/release-stable.yml b/.github/workflows/release-stable.yml index c0b13874..d41725df 100644 --- a/.github/workflows/release-stable.yml +++ b/.github/workflows/release-stable.yml @@ -9,6 +9,9 @@ on: env: # Bump this when Tauri/Rust target artifacts capture stale absolute paths. RUST_TARGET_CACHE_VERSION: v2026-04-14-tolaria + # The production Vite bundle can exceed Node's default ~2GB heap on + # macOS arm64 runners while Tauri runs beforeBuildCommand. + NODE_OPTIONS: --max-old-space-size=4096 concurrency: group: release-stable-${{ github.ref }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5d390960..2c65f30c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,9 @@ on: env: # Bump this when Tauri/Rust target artifacts capture stale absolute paths. RUST_TARGET_CACHE_VERSION: v2026-04-14-tolaria + # The production Vite bundle can exceed Node's default ~2GB heap on + # macOS arm64 runners while Tauri runs beforeBuildCommand. + NODE_OPTIONS: --max-old-space-size=4096 concurrency: group: release-alpha-${{ github.ref }}