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:12:14 +02:00
parent 5fb9755841
commit 907d61b5d2

View File

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