mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-12 17:26:22 +00:00
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:
@@ -37,7 +37,7 @@ audit:
|
||||
scheduled-audit:
|
||||
stage: audit
|
||||
script:
|
||||
- npm audit
|
||||
- npm audit --audit-level=high
|
||||
only:
|
||||
- schedules
|
||||
|
||||
|
||||
Reference in New Issue
Block a user