This commit is contained in:
Flummi 2017-11-24 12:53:39 +00:00
parent 2bf6cfae00
commit 8f9d8921f3

View File

@ -3,6 +3,7 @@ image: node:latest
stages:
- build
- babel
- release
cache:
paths:
@ -16,7 +17,7 @@ install_dependencies:
artifacts:
paths:
- node_modules/
expire_in: 2 hour
expire_in: 1 hour
babel_compile:
stage: babel
@ -24,4 +25,11 @@ babel_compile:
artifacts:
paths:
- dist/
expire_in: 1 hour
release:
script: dist.tar.bz2 tar cfvj dist/*
artifacts:
paths:
- dist.tar.bz2
expire_in: 1 week