mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 13:44:05 -08:00
Cache yarn corrctly (#7727)
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
869ba2b3cd
commit
e91f7e1c0a
|
@ -27,8 +27,8 @@ jobs:
|
|||
key: v1
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-npm-deps-{{ checksum "web/ui/react-app/yarn.lock" }}
|
||||
- v1-npm-deps-
|
||||
- v3-npm-deps-{{ checksum "web/ui/react-app/yarn.lock" }}
|
||||
- v3-npm-deps-
|
||||
- run:
|
||||
command: make
|
||||
environment:
|
||||
|
@ -49,9 +49,9 @@ jobs:
|
|||
- go/save-cache:
|
||||
key: v1
|
||||
- save_cache:
|
||||
key: v1-npm-deps-{{ checksum "web/ui/react-app/yarn.lock" }}
|
||||
key: v3-npm-deps-{{ checksum "web/ui/react-app/yarn.lock" }}
|
||||
paths:
|
||||
- web/ui/react-app/node_modules
|
||||
- /home/circleci/.cache/yarn
|
||||
- store_test_results:
|
||||
path: test-results
|
||||
test_windows:
|
||||
|
|
Loading…
Reference in a new issue