浏览代码

ci: fix windows build

NGPixel 1 年之前
父节点
当前提交
ca22b21bab
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      .github/workflows/build.yml

+ 5 - 0
.github/workflows/build.yml

@@ -111,6 +111,11 @@ jobs:
       with:
         node-version: 20.x
 
+    - name: Enable pnpm
+      run: |
+        corepack enable
+        corepack prepare pnpm@latest --activate
+
     - name: Download Build Artifact
       uses: actions/download-artifact@v3
       with: