cache in CI only in build
This commit is contained in:
parent
36cd341d44
commit
b0102178fc
@ -1,8 +1,3 @@
|
|||||||
|
|
||||||
cache:
|
|
||||||
paths:
|
|
||||||
- node_modules/
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
# - test
|
# - test
|
||||||
@ -17,6 +12,9 @@ build_ui:
|
|||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- node_modules/
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "basispanel-ui-$CI_COMMIT_REF_NAME"
|
name: "basispanel-ui-$CI_COMMIT_REF_NAME"
|
||||||
expire_in: 1h
|
expire_in: 1h
|
||||||
|
Loading…
Reference in New Issue
Block a user