From 223d5bf794e0c1a1e19247af2b33bb2a3a3a5996 Mon Sep 17 00:00:00 2001 From: SunWuyuan Date: Sat, 5 Apr 2025 14:08:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A9=E6=89=8D=E8=88=AC=E7=9A=84NODE=5FENV?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e7b3a13..4c54ffe 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,21 +26,15 @@ jobs: - uses: actions/checkout@v4 - name: Use Node.js 20 + uses: actions/setup-node@v3 with: node-version: "20.x" - - name: Install pnpm - uses: pnpm/action-setup@v3 - with: - version: 8 - - name: Build - env: - NODE_ENV: production run: | - pnpm install - pnpm run build + npm install + npm run build - name: Setup Pages uses: actions/configure-pages@v5 - name: Upload artifact