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-19 13:13:53 +02:00
parent e3658862ac
commit 7c9e192923

View File

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