ci: use artifacts instead of cache for lib

Fixes #23
This commit is contained in:
Jovan Krunić
2019-01-14 14:17:50 +01:00
parent d9f5532350
commit 73484ac686

View File

@@ -3,7 +3,6 @@ image: registry.gitlab.com/openstapps/projectmanagement/node
cache: cache:
key: ${CI_COMMIT_REF_SLUG} key: ${CI_COMMIT_REF_SLUG}
paths: paths:
- lib
- node_modules - node_modules
before_script: before_script:
@@ -18,6 +17,10 @@ build:
stage: build stage: build
script: script:
- npm run build - npm run build
artifacts:
paths:
- lib
expire_in: 1 week
audit: audit:
stage: test stage: test