From ea97c72961b148c6962d539b3c9ad6a57c3561b3 Mon Sep 17 00:00:00 2001 From: andatoshiki Date: Mon, 22 May 2023 19:23:24 +0800 Subject: [PATCH] ci(fix): add steps to setup pnpm via official documentation --- .github/workflows/deploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e958a607..e7648863 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,10 +9,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Perform check out - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 + uses: actions/checkout@v3\ + - name: Setup PNPM + uses: pnpm/action-setup@v2 with: - version: 8 + version: 8 - name: Install dependencies and build/compile the site # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. run: | pnpm install --frozen-lockfile