ci: allow audit to fail

This commit is contained in:
Wieland Schöbl
2019-04-03 12:50:05 +02:00
parent 1022150ca3
commit 944f4e252d
3 changed files with 15 additions and 5 deletions

View File

@@ -36,6 +36,16 @@ audit:
stage: test
script:
- npm audit
allow_failure: true
except:
- schedules
scheduled-audit:
stage: test
script:
- npm-audit
only:
- schedules
routes:
dependencies:
@@ -43,7 +53,7 @@ routes:
stage: test
script:
- npm install @openstapps/core
- node lib/cli.js routes node_modules/@openstapps/core routes.md
- node lib/cli.js routes node_modules/@openstapps/core/lib routes.md
artifacts:
paths:
- routes.md