Browse Source

workflow: fix github action build error (#2773)

* workflow: fix github action build error

* workflow: pnpm/action-setup 不指定具体版本号
GauharChan 1 year ago
parent
commit
34237ef033
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .github/workflows/deploy.yml

+ 3 - 0
.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: