From a4bea8202b96728affdb01887535911d27b9a575 Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Thu, 20 Nov 2025 21:09:06 +0800 Subject: [PATCH] feat(cli): add env config to template --- .../deploy/github/.github/workflows/deploy.yml.handlebars | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cli/templates/deploy/github/.github/workflows/deploy.yml.handlebars b/cli/templates/deploy/github/.github/workflows/deploy.yml.handlebars index 7a5e5647..1ad7152d 100644 --- a/cli/templates/deploy/github/.github/workflows/deploy.yml.handlebars +++ b/cli/templates/deploy/github/.github/workflows/deploy.yml.handlebars @@ -56,11 +56,15 @@ jobs: # Run the build script {{#unless (equal packageManager "yarn")}} - name: Build VuePress site + env: + NODE_OPTIONS: --max_old_space_size=8192 run: {{packageManager}} run docs:build {{/unless}} {{#if (equal packageManager "yarn")}} - name: Build VuePress site uses: borales/actions-yarn@v4 + env: + NODE_OPTIONS: --max_old_space_size=8192 with: cmd: docs:build {{/if}}