test
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user