Merge branch 'split-ci-outdated-deps' into 'master'

Add CI jobs (with allow_failure) for dependencies updates

See merge request framasoft/mobilizon!92
This commit is contained in:
Thomas Citharel 2019-03-08 13:48:17 +01:00
commit 7ce882ad90

View File

@ -36,6 +36,22 @@ js:
untracked: false
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:
stage: back
before_script:
@ -43,7 +59,17 @@ elixir_check:
script:
- mix credo list
- mix format --check-formatted --dry-run
cache:
paths:
- deps
elixir_deps:
stage: back
before_script:
- mix deps.get
script:
- mix hex.outdated
allow_failure: true
cache:
paths:
- deps