From 9566ffd43802d8bd87792058c9a122f3da9840a1 Mon Sep 17 00:00:00 2001 From: riba2534 Date: Sun, 28 Jun 2026 13:25:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20CI=20=E6=94=B9=E7=94=A8=20Node=2020=20+?= =?UTF-8?q?=20=E5=A2=9E=E5=A4=A7=E5=86=85=E5=AD=98=20+=20no-fund/no-audit?= =?UTF-8?q?=20=E8=AF=8A=E6=96=AD=20npm=20=E5=B4=A9=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ef3bcac..e5756b2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,15 +16,19 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '20' - name: Install dependencies - run: npm install + run: npm install --no-fund --no-audit working-directory: site + env: + NODE_OPTIONS: '--max-old-space-size=4096' - name: Build site run: npm run build working-directory: site + env: + NODE_OPTIONS: '--max-old-space-size=4096' - name: Deploy to Cloudflare Pages uses: cloudflare/wrangler-action@v3