From 34237ef033942032978fe38bbb16ae6fa2a41321 Mon Sep 17 00:00:00 2001 From: GauharChan <45651308+GauharChan@users.noreply.github.com> Date: Fri, 19 May 2023 17:08:57 +0800 Subject: [PATCH] workflow: fix github action build error (#2773) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * workflow: fix github action build error * workflow: pnpm/action-setup 不指定具体版本号 --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 54670476..b93dbb34 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -67,6 +67,9 @@ jobs: sed -i "s#VITE_DROP_CONSOLE\s*=.*#VITE_DROP_CONSOLE = true#g" ./.env.production cat ./.env.production + - name: Install pnpm + uses: pnpm/action-setup@v2 + - name: use Node.js 16 uses: actions/setup-node@v3 with: