cache in CI only in build
This commit is contained in:
parent
36cd341d44
commit
b0102178fc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user