From fa8b7528cd2d1847d9847119417e2359be1e0eb1 Mon Sep 17 00:00:00 2001 From: Jerry Date: Thu, 5 Jun 2025 21:23:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=8D=A2=E9=83=A8=E7=BD=B2=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 86f4df1..61b56d5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,26 +8,24 @@ on: jobs: build-and-deploy: runs-on: ubuntu-latest - defaults: run: working-directory: src/frontend steps: - - name: Checkout code - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 20 registry-url: https://registry.npmjs.org - cache: pnpm - - - name: Setup pnpm - uses: pnpm/action-setup@v4 - with: - version: 9 + cache: 'pnpm' - name: Install dependencies run: pnpm install --frozen-lockfile