From b4f9b1b8ea326b1613ca291ed5bbcd932c5e837a Mon Sep 17 00:00:00 2001 From: Innei Date: Tue, 10 Sep 2024 19:30:10 +0800 Subject: [PATCH] fix: ci env `NODE_OPTIONS` max-old-space-size Signed-off-by: Innei --- .github/workflows/build.yml | 1 + .github/workflows/tag.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5de8a30e1..10cdcb581b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,7 @@ env: VITE_IMGPROXY_URL: ${{ vars.VITE_IMGPROXY_URL }} VITE_SENTRY_DSN: ${{ vars.VITE_SENTRY_DSN }} VITE_POSTHOG_KEY: ${{ vars.VITE_POSTHOG_KEY }} + NODE_OPTIONS: --max-old-space-size=8192 jobs: release: diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 460489cb25..d44125fd5a 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -4,7 +4,8 @@ on: push: branches: - main - +env: + NODE_OPTIONS: --max-old-space-size=8192 jobs: create_tag: runs-on: ubuntu-latest