diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 50b98cc..275a48b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file