ci: Change 'npm audit' failure behaviour

The audit fails only if the results include a vulnerability with a level of
at least 'high' in scheduled pipelines.
This commit is contained in:
Frank Nagel
2020-06-17 11:31:56 +02:00
parent 1913e89366
commit 9a93ea78c3

View File

@@ -49,7 +49,7 @@ audit:
scheduled-audit: scheduled-audit:
stage: audit stage: audit
script: script:
- npm audit - npm audit --audit-level=high
only: only:
- schedules - schedules