cache in CI only in build

This commit is contained in:
Sebastian Frank 2017-08-31 22:58:06 +02:00
parent 36cd341d44
commit b0102178fc
No known key found for this signature in database
GPG Key ID: DC2BC5C506EBF6F3

View File

@ -1,8 +1,3 @@
cache:
paths:
- node_modules/
stages:
- build
# - test
@ -17,6 +12,9 @@ build_ui:
- git submodule update --init
- npm install
- npm run build
cache:
paths:
- node_modules/
artifacts:
name: "basispanel-ui-$CI_COMMIT_REF_NAME"
expire_in: 1h