From 8e7bc6423b8cd3147c8d8553bd15d416ce8000a3 Mon Sep 17 00:00:00 2001 From: cheanus Date: Fri, 1 Nov 2024 21:11:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20github=20action=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=AE=89=E8=A3=85pnpm=E7=9A=84=E6=AD=A5=E9=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fa98f046..59f4b3ea 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,6 +13,12 @@ jobs: - name: Checkout 🛎️ uses: actions/checkout@v4 + - name: Install pnpm 📦 + uses: pnpm/action-setup@v4 + with: + version: '9' + run_install: false + - name: Install and Build 🔧 # 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 --production