From 71823cafd765cffac40b844bb080b4d37fd29113 Mon Sep 17 00:00:00 2001 From: SunWuyuan Date: Sat, 5 Apr 2025 13:19:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E4=BD=BF=E7=94=A8pnpm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 47b60ca..e7b3a13 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,17 +26,21 @@ 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: | - npm install - npm run build + pnpm install + pnpm run build - name: Setup Pages uses: actions/configure-pages@v5 - name: Upload artifact