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:22:44 +02:00
parent 195958a3b6
commit 96e5cd3f50

View File

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