From 8dba94b3890808954baa2addcde060de81c7decf Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 13 Jun 2023 12:55:09 +0800 Subject: [PATCH] chore: fix site-deploy.yml from OOM (#42990) * Update site-deploy.yml * Update site-deploy.yml --- .github/workflows/site-deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/site-deploy.yml b/.github/workflows/site-deploy.yml index 5a19ca0cfb..c29009f69c 100644 --- a/.github/workflows/site-deploy.yml +++ b/.github/workflows/site-deploy.yml @@ -69,11 +69,14 @@ jobs: - name: build site run: npm run predeploy + env: + NODE_OPTIONS: "--max_old_space_size=4096" - name: build dist and bundle analyzer report run: npm run dist env: ANALYZER: 1 + NODE_OPTIONS: "--max_old_space_size=4096" - name: Get version id: publish-version