ci: saperate aduit jobs from test stage

This commit is contained in:
Rainer Killinger
2020-02-06 13:06:37 +01:00
parent cdb8a6507d
commit 2a0dc812d8

View File

@@ -11,6 +11,7 @@ before_script:
stages: stages:
- build - build
- test - test
- audit
- deploy - deploy
- publish - publish
@@ -26,7 +27,7 @@ build:
expire_in: 1 week expire_in: 1 week
audit: audit:
stage: test stage: audit
script: script:
- npm audit - npm audit
allow_failure: true allow_failure: true
@@ -34,7 +35,7 @@ audit:
- schedules - schedules
scheduled-audit: scheduled-audit:
stage: test stage: audit
script: script:
- npm audit - npm audit
only: only: