From 4e949ac28c8212c34c255d3f291f7c1bfd1a765f Mon Sep 17 00:00:00 2001 From: Shevchik Igor Date: Tue, 16 Jun 2026 04:15:42 +0000 Subject: [PATCH] ci(deploy): raise Node heap limit to fix docs prerender OOM The Deploy to Pages workflow fails at the Generate Docs step (pnpm docs:full:generate -> nuxt generate docs) with a JavaScript heap out of memory error (exit 134) during the Nitro prerender phase. The default V8 heap cap (~4GB) is exceeded while prerendering the docs site. Regression first appeared after the pnpm v11 dependency update (#120), which regenerated the lockfile and shifted the transitive dependency tree, pushing prerender memory over the existing borderline limit. Set NODE_OPTIONS=--max-old-space-size=8192 on the build job; the ubuntu-latest runner has 16GB RAM available. --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9bc27ad52..7653da1f6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,6 +24,9 @@ jobs: env: # FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + # Raise V8 heap limit: docs prerender (nuxt generate) otherwise hits the + # default ~4GB cap and OOMs (exit 134). Runner has 16GB RAM available. + NODE_OPTIONS: --max-old-space-size=8192 NUXT_PUBLIC_USE_AI: false NUXT_PUBLIC_SITE_URL: https://bitrix24.github.io NUXT_PUBLIC_BASE_URL: /b24ui