gitlab-ci: only install dependencies on package-lock.json change
This commit is contained in:
parent
24790d5b8c
commit
d81a7743ca
1 changed files with 3 additions and 3 deletions
|
@ -22,9 +22,9 @@ install-dependencies:
|
|||
cache:
|
||||
<<: *global_cache
|
||||
policy: pull-push
|
||||
# only:
|
||||
# changes:
|
||||
# - package-lock.json
|
||||
only:
|
||||
changes:
|
||||
- package-lock.json
|
||||
|
||||
lint:
|
||||
stage: test
|
||||
|
|
Loading…
Reference in a new issue