From 2a0dc812d8fc6dcfa4aa867616b20103135999e7 Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Thu, 6 Feb 2020 13:06:37 +0100 Subject: [PATCH] ci: saperate aduit jobs from test stage --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5a93d5cc..285fda1e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,7 @@ before_script: stages: - build - test + - audit - deploy - publish @@ -26,7 +27,7 @@ build: expire_in: 1 week audit: - stage: test + stage: audit script: - npm audit allow_failure: true @@ -34,7 +35,7 @@ audit: - schedules scheduled-audit: - stage: test + stage: audit script: - npm audit only: