Commit b50d1c59 authored by Eliot Berriot's avatar Eliot Berriot 💬

Should cache node modules between jobs

parent 5bac0c9c
......@@ -19,12 +19,19 @@ build_front:
image: node:6-alpine
before_script:
- cd front
script:
- npm install
- npm run build
- mv dist /dist
cache:
key: "$CI_COMMIT_REF_NAME"
paths:
- front/node_modules
artifacts:
name: "front_${CI_COMMIT_REF_NAME}"
paths:
- front/dist
- /dist
only:
- master
- develop
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment