【发布时间】:2022-08-18 22:17:59
【问题描述】:
我在我的 gitlab CI 上使用 npm audit,一切正常我创建了一个 json,其中包含要更新的依赖项列表。
现在,我希望这个管道在每次依赖项过时时都会失败。
在其他语言上,我们有 php/pip 使管道失败
任何想法 ?
image: \"registry.gitlab.com/gitlab-org/security-products/analyzers/npm-audit:1.4.0\"
stage: security-check
variables:
TOOL: npm
script:
- /analyzer run
artifacts:
reports:
dependency_scanning: gl-dependency-scanning-report.json
paths:
- gl-dependency-scanning-report.json
标签: javascript npm dependencies audit