fix(ci): 修复 pnpm v9 构建脚本权限错误
Build and Deploy Vue3 / build (push) Successful in 1m19s
Build and Deploy Vue3 / deploy (push) Successful in 33s

使用 --ignore-scripts 跳过安装时的脚本检查,之后通过 pnpm rebuild 执行必要的 native 构建。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
shiran
2026-06-02 17:45:37 +08:00
parent c18622226e
commit d2af66f8c8
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ jobs:
- name: Install dependencies
run: |
pnpm install
pnpm install --ignore-scripts
pnpm rebuild
- name: 替换域名
run: |
+2 -1
View File
@@ -18,7 +18,8 @@ jobs:
- name: Install dependencies
run: |
pnpm install
pnpm install --ignore-scripts
pnpm rebuild
- name: Build project
run: |