ci: allow audit to fail and add scheduled audit

This commit is contained in:
Karl-Philipp Wulfert
2019-04-15 15:03:44 +02:00
parent d7b6ecb734
commit d652085b09

View File

@@ -18,10 +18,20 @@ build:
script: script:
- npm run build - npm run build
test: audit:
stage: test stage: test
script: script:
- npm audit - npm audit
allow_failure: true
except:
- schedules
scheduled-audit:
stage: test
script:
- npm audit
only:
- schedules
pages: pages:
stage: deploy stage: deploy