From 1db9602739cd76d8decca8df89dbae826a916f2c Mon Sep 17 00:00:00 2001 From: chihlasm Date: Fri, 27 Mar 2026 16:17:52 +0000 Subject: [PATCH] fix: increase Node heap size for frontend build in CI Exit code 134 (OOM) during vite build on GitHub Actions runner. Add NODE_OPTIONS=--max-old-space-size=4096 to the build step. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5415e8df..607c45a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,7 +93,7 @@ jobs: run: cd frontend && npm run test:coverage - name: Build - run: cd frontend && npm run build + run: cd frontend && NODE_OPTIONS="--max-old-space-size=4096" npm run build e2e: runs-on: ubuntu-latest