gitlab-ci: only install dependencies on package-lock.json change

This commit is contained in:
Johannes Loher 2020-12-27 14:37:32 +01:00
parent 24790d5b8c
commit d81a7743ca

View file

@ -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