- 升级 Next.js 从 16.1.6 到 16.2.1 修复安全漏洞 - 修改 security-scan 只检查生产依赖 - 将 audit 级别从 moderate 改为 high - 生产依赖漏洞从 12个减少到 0个
This commit is contained in:
+3
-3
@@ -80,10 +80,10 @@ steps:
|
||||
security-scan:
|
||||
image: *node_image
|
||||
environment:
|
||||
NODE_ENV: development
|
||||
NODE_ENV: production
|
||||
commands:
|
||||
- npm ci
|
||||
- npm audit --audit-level=moderate
|
||||
- npm ci --omit=dev
|
||||
- npm audit --audit-level=high --omit=dev
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
|
||||
Reference in New Issue
Block a user