Skip to content
Snippets Groups Projects
Commit b6b4ab66 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Update .gitlab-ci.yml

parent fb3f70a7
No related branches found
No related tags found
1 merge request!5Resolve "Make Proxy Use Autodevops"
...@@ -4,12 +4,21 @@ stages: ...@@ -4,12 +4,21 @@ stages:
prepare_node: prepare_node:
stage: prepare stage: prepare
image: node:10 image: node:10
script: before_script:
- npm install - npm install
script:
- npm run prod
artifacts: artifacts:
paths: paths:
- node_modules - node_modules
- /root/.npm - public/css/all.css
- /root/.node-gyp
cache:
# Cache per Branch
key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG"
paths:
- node_modules
- /root/.node-gyp
only: only:
- branches - branches
- tags - tags
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment