Uwev2/.gitlab-ci.yml

27 lines
345 B
YAML
Raw Normal View History

2017-11-08 13:09:54 +00:00
image: node:latest
stages:
- build
2017-11-08 13:12:39 +00:00
- babel
2017-11-08 13:09:54 +00:00
cache:
paths:
- node_modules/
- dist/
install_dependencies:
stage: build
script:
- npm install
2017-11-09 16:11:03 +00:00
artifacts:
paths:
- node_modules/
2017-11-24 12:53:39 +00:00
expire_in: 1 hour
2017-11-08 13:12:39 +00:00
babel_compile:
stage: babel
2017-11-09 16:09:27 +00:00
script: npm run build
artifacts:
paths:
- dist/
2017-11-24 13:11:56 +00:00
expire_in: 1 week