mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-18 20:47:51 +00:00
CCI: cache based on package.json
This commit is contained in:
parent
23d8740782
commit
9ea42966d3
@ -16,11 +16,7 @@ jobs:
|
||||
|
||||
- restore_cache:
|
||||
name: Restore Yarn Package Cache
|
||||
keys:
|
||||
- yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}
|
||||
- yarn-packages-{{ .Branch }}
|
||||
- yarn-packages-master
|
||||
- yarn-packages-
|
||||
key: dependency-cache-{{ checksum "package.json" }}
|
||||
|
||||
- run:
|
||||
name: Install project
|
||||
@ -32,9 +28,10 @@ jobs:
|
||||
|
||||
- save_cache:
|
||||
name: Save Yarn Package Cache
|
||||
key: yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }}
|
||||
key: dependency-cache-{{ checksum "package.json" }}
|
||||
paths:
|
||||
- node_modules/
|
||||
- ~/.cache/yarn
|
||||
- ./node_modules
|
||||
|
||||
- run:
|
||||
name: Building WebUI for distribution
|
||||
|
Loading…
Reference in New Issue
Block a user