From 92bfe50e1c2349d4d808fd93bb341341becc60cc Mon Sep 17 00:00:00 2001 From: Karl-Philipp Wulfert Date: Tue, 2 Apr 2019 13:53:15 +0200 Subject: [PATCH] ci: add test stage and audit job --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0ce191cd..053a4997 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,6 @@ image: registry.gitlab.com/openstapps/projectmanagement/node cache: key: ${CI_COMMIT_REF_SLUG} paths: - - lib - node_modules before_script: @@ -11,14 +10,18 @@ before_script: stages: - build + - test - deploy build: stage: build script: - npm run build - except: - - schedules + +test: + stage: test + script: + - npm audit pages: stage: deploy