refactor: seperate audit jobs from test stage

This commit is contained in:
Rainer Killinger
2020-02-06 13:18:50 +01:00
parent 9eab730414
commit 87b59d84f1

View File

@@ -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: