From e3ed40c4b61306e09eb96289b51127445550be63 Mon Sep 17 00:00:00 2001 From: Jerry Date: Thu, 5 Jun 2025 21:11:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8github=E6=8E=A8=E8=8D=90?= =?UTF-8?q?=E7=9A=84=E6=96=B9=E5=BC=8F=E6=B7=BB=E5=8A=A0pnpm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bf9d18f..ca5447b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,21 +15,22 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - name: Set up Node.js - uses: actions/setup-node@v3 + - name: Setup pnpm + uses: pnpm/action-setup@v4 with: - node-version: '22' - cache: 'pnpm' + version: 9 - - name: Install pnpm - uses: pnpm/action-setup@v2 + - name: Setup Node.js + uses: actions/setup-node@v4 with: - version: 8 + node-version: 20 + registry-url: https://registry.npmjs.org + cache: pnpm - name: Install dependencies - run: pnpm install + run: pnpm install --frozen-lockfile - name: Build project run: pnpm run build