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: stages:
- build - build
- babel - babel
- release
cache: cache:
paths: paths:
@ -16,7 +17,7 @@ install_dependencies:
artifacts: artifacts:
paths: paths:
- node_modules/ - node_modules/
expire_in: 2 hour expire_in: 1 hour
babel_compile: babel_compile:
stage: babel stage: babel
@ -24,4 +25,11 @@ babel_compile:
artifacts: artifacts:
paths: paths:
- dist/ - dist/
expire_in: 1 hour
release:
script: dist.tar.bz2 tar cfvj dist/*
artifacts:
paths:
- dist.tar.bz2
expire_in: 1 week expire_in: 1 week