Browse Source

chore: fix github actions missing pnpm

DIYgod 2 years ago
parent
commit
360a35f1c4
1 changed files with 8 additions and 0 deletions
  1. 8 0
      .github/workflows/vuepress-deploy.yml

+ 8 - 0
.github/workflows/vuepress-deploy.yml

@@ -1,6 +1,14 @@
 name: Build and Deploy
 on: [push]
 jobs:
+  install:
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: pnpm/action-setup@v2.2.2
+        with:
+          version: 6.0.2
+
   build-and-deploy:
     runs-on: ubuntu-latest
     steps: