fix: 使用--ignore-scripts跳过husky并修复企业微信通知
ci/woodpecker/push/woodpecker Pipeline failed

- 使用 npm ci --omit=dev --ignore-scripts 跳过所有脚本
- 本地验证 husky 问题已解决
- 本地验证企业微信通知成功
- 将换行符替换为空格,避免 shell 解析错误
This commit is contained in:
张翔
2026-03-28 18:58:15 +08:00
parent 5f0ba36fea
commit 09fc5fe7e1
2 changed files with 51 additions and 2 deletions
+1 -2
View File
@@ -91,8 +91,7 @@ steps:
NODE_ENV: production
HUSKY: 0
commands:
- export HUSKY=0
- npm ci --omit=dev
- npm ci --omit=dev --ignore-scripts
- npm audit --audit-level=high --omit=dev
when:
event: