Add CI jobs (with allow_failure) for dependencies updates

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-03-08 13:42:34 +01:00
parent b76b57c438
commit add39a9cd1
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -36,6 +36,22 @@ js:
untracked: false untracked: false
expire_in: 30 days expire_in: 30 days
js_deps:
stage: front
before_script:
- cd js
- npm install
- npm install -g npm-check-updates
script:
- ncu --error-level 2
after_script:
- cd ../
cache:
paths:
- js/node_modules
allow_failure: true
elixir_check: elixir_check:
stage: back stage: back
before_script: before_script:
@ -43,7 +59,17 @@ elixir_check:
script: script:
- mix credo list - mix credo list
- mix format --check-formatted --dry-run - mix format --check-formatted --dry-run
cache:
paths:
- deps
elixir_deps:
stage: back
before_script:
- mix deps.get
script:
- mix hex.outdated - mix hex.outdated
allow_failure: true
cache: cache:
paths: paths:
- deps - deps