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 a30d3ee76a

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