From 87b59d84f1621dce732d9bb238bf0e4c663b9661 Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Thu, 6 Feb 2020 13:18:50 +0100 Subject: [PATCH] refactor: seperate audit 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 97c893a3..0e09883b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,7 @@ before_script: stages: - build - test + - audit - deploy build: @@ -29,7 +30,7 @@ test: - npm test audit: - stage: test + stage: audit script: - npm audit allow_failure: true @@ -37,7 +38,7 @@ audit: - schedules scheduled-audit: - stage: test + stage: audit script: - npm audit only: