From db240aa4b1d4c64f46b13ea635e461f7313e320f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jovan=20Kruni=C4=87?= Date: Fri, 25 Jan 2019 11:13:08 +0100 Subject: [PATCH] ci: provide lib via artifacts instead of cache Closes #2 --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d88d41b..04c0f22c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,8 @@ -image: node:lts-alpine +image: registry.gitlab.com/openstapps/projectmanagement/node cache: key: ${CI_COMMIT_REF_SLUG} paths: - - lib - node_modules stages: @@ -17,6 +16,10 @@ build:build: script: - npm install - npm run build + artifacts: + paths: + - lib + expire_in: 1 week test:audit: stage: test