From 96e5cd3f5027e94ee5cc402f3a8a4664d2453316 Mon Sep 17 00:00:00 2001 From: Frank Nagel Date: Fri, 19 Jun 2020 13:22:44 +0200 Subject: [PATCH] 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. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 711c2a4f..59be547d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -84,7 +84,7 @@ scheduled npm: only: - schedules script: - - npm audit + - npm audit --audit-level=high stage: audit pages: