feat: 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:00:38 +02:00
parent 1b677dd16d
commit c11b1da9a6

View File

@@ -752,7 +752,7 @@ export function getRules(configuration: Configuration): Rules {
'schedules',
],
script: [
'npm audit',
'npm audit --audit-level=high',
],
stage: 'audit',
},