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:10:43 +02:00
committed by Rainer Killinger
parent ce06e735be
commit 677be5173d

View File

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