From 3193a9fa9dfe88d6d8da4c6e0f2343404e99cd7b Mon Sep 17 00:00:00 2001 From: andatoshiki Date: Mon, 22 May 2023 19:21:43 +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 e2b25278..55973ab3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,15 +10,16 @@ jobs: steps: - name: Perform check out uses: actions/checkout@v3 - + - uses: pnpm/action-setup@v2 + with: + 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: | - chsh -s /bin/bash - wget -qO- https://get.pnpm.io/install.sh | sh - pnpm install --frozen-lockfile pnpm prepare pnpm lint pnpm docs:build + - uses: pnpm/action-setup@v2 - name: Deploy to GitHub pages uses: JamesIves/github-pages-deploy-action@v4 with: