From 9a93ea78c39c37e1648e01caa9d714517ad0eb74 Mon Sep 17 00:00:00 2001 From: Frank Nagel Date: Wed, 17 Jun 2020 11:31:56 +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 e6985467..1b765c67 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,7 +49,7 @@ audit: scheduled-audit: stage: audit script: - - npm audit + - npm audit --audit-level=high only: - schedules