ci: provide lib via artifacts instead of cache

Closes #2
This commit is contained in:
Jovan Krunić
2019-01-25 11:13:08 +01:00
parent 515536f629
commit db240aa4b1

View File

@@ -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