1
0
Fork 0

fix(build): add rpt2 cache to cache rather than artifacts

This commit is contained in:
ssube 2019-06-30 19:12:37 -05:00
parent 30ea7d6fc8
commit 0996390183
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 3 additions and 1 deletions

View File

@ -89,12 +89,14 @@ build-node:
artifacts: artifacts:
expire_in: 1 week expire_in: 1 week
paths: paths:
- out/ - out/*.js
- out/*.js.map
cache: cache:
key: "${CI_COMMIT_REF_SLUG}" key: "${CI_COMMIT_REF_SLUG}"
policy: pull-push policy: pull-push
paths: paths:
- node_modules - node_modules
- out/cache
build-image: build-image:
<<: [*build-docker] <<: [*build-docker]