From ff318d6ef5c40f3fee02f819c4bbf5f21e9288cc Mon Sep 17 00:00:00 2001 From: SuperComboGamer Date: Mon, 15 Dec 2025 19:58:12 -0500 Subject: [PATCH] fix: increase Node memory to 6GB and add --prefer-offline for npm install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Increase NODE_OPTIONS from 4GB to 6GB to prevent OOM - Add --prefer-offline to reduce network calls and speed up install 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/e2e-tests.yml | 4 ++-- .github/workflows/pr-check.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index ed910999..29c93eb5 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -34,9 +34,9 @@ jobs: # Use npm install instead of npm ci to correctly resolve platform-specific # optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries) # Increase Node memory limit to prevent OOM during install - run: npm install + run: npm install --prefer-offline env: - NODE_OPTIONS: --max_old_space_size=4096 + NODE_OPTIONS: --max_old_space_size=6144 - name: Install Linux native bindings # Workaround for npm optional dependencies bug (npm/cli#4828) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 4105ee6a..8a9dcfdf 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -33,9 +33,9 @@ jobs: # Use npm install instead of npm ci to correctly resolve platform-specific # optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries) # Increase Node memory limit to prevent OOM during install - run: npm install + run: npm install --prefer-offline env: - NODE_OPTIONS: --max_old_space_size=4096 + NODE_OPTIONS: --max_old_space_size=6144 - name: Install Linux native bindings # Workaround for npm optional dependencies bug (npm/cli#4828) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0e078ff..384f4b06 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,9 +52,9 @@ jobs: # Use npm install instead of npm ci to correctly resolve platform-specific # optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries) # Increase Node memory limit to prevent OOM during install - run: npm install + run: npm install --prefer-offline env: - NODE_OPTIONS: --max_old_space_size=4096 + NODE_OPTIONS: --max_old_space_size=6144 - name: Install Linux native bindings # Workaround for npm optional dependencies bug (npm/cli#4828) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7b341963..5b3d5ce4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,9 +33,9 @@ jobs: # Use npm install instead of npm ci to correctly resolve platform-specific # optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries) # Increase Node memory limit to prevent OOM during install - run: npm install + run: npm install --prefer-offline env: - NODE_OPTIONS: --max_old_space_size=4096 + NODE_OPTIONS: --max_old_space_size=6144 - name: Install Linux native bindings # Workaround for npm optional dependencies bug (npm/cli#4828)