diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 24065347..ed910999 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -33,7 +33,10 @@ jobs: - name: Install dependencies # 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 + env: + NODE_OPTIONS: --max_old_space_size=4096 - 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 604c9d8d..4105ee6a 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -32,7 +32,10 @@ jobs: - name: Install dependencies # 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 + env: + NODE_OPTIONS: --max_old_space_size=4096 - 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 aa6ec548..b0e078ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,7 +51,10 @@ jobs: - name: Install dependencies # 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 + env: + NODE_OPTIONS: --max_old_space_size=4096 - 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 cadeb2f3..7b341963 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,7 +32,10 @@ jobs: - name: Install dependencies # 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 + env: + NODE_OPTIONS: --max_old_space_size=4096 - name: Install Linux native bindings # Workaround for npm optional dependencies bug (npm/cli#4828)