- 使用 npm ci --omit=dev --ignore-scripts 跳过所有脚本 - 本地验证 husky 问题已解决 - 本地验证企业微信通知成功 - 将换行符替换为空格,避免 shell 解析错误
This commit is contained in:
+1
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user