Better CI cache

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-11-12 23:32:59 +01:00
parent 2939485321
commit bdc16bad6b

View File

@ -13,11 +13,11 @@ variables:
GEOLITE_CITIES_PATH: "/builds/tcit/mobilizon/priv/data/GeoLite2-City.mmdb" GEOLITE_CITIES_PATH: "/builds/tcit/mobilizon/priv/data/GeoLite2-City.mmdb"
cache: cache:
key: "$CI_JOB_NAME"
paths: paths:
- deps - deps
- _build - _build
- .rebar3 - .rebar3
- js/node_modules
before_script: before_script:
- cd js && npm install && npm run build && cd ../ - cd js && npm install && npm run build && cd ../