From 907d61b5d22501c8dd33ca91efbb0217bc052f46 Mon Sep 17 00:00:00 2001 From: Frank Nagel Date: Fri, 19 Jun 2020 13:12:14 +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 285fda1e..d4fc971a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,7 +37,7 @@ audit: scheduled-audit: stage: audit script: - - npm audit + - npm audit --audit-level=high only: - schedules