Uwev2/.gitlab-ci.yml
2017-11-24 13:11:56 +00:00

27 lines
345 B
YAML

image: node:latest
stages:
- build
- babel
cache:
paths:
- node_modules/
- dist/
install_dependencies:
stage: build
script:
- npm install
artifacts:
paths:
- node_modules/
expire_in: 1 hour
babel_compile:
stage: babel
script: npm run build
artifacts:
paths:
- dist/
expire_in: 1 week