Skip to content

Commit bc83549

Browse files
committed
circleCI - use cache version from circle environment var
1 parent daae155 commit bc83549

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
- checkout
8888
- restore_cache:
8989
keys:
90-
- v1.0-dependency-cache-{{ checksum "package-lock.json" }}
90+
- v{{ .Environment.CACHE_VERSION }}-dependency-cache-{{ checksum "package-lock.json" }}
9191
- run:
9292
name: Install npm 6 + deps via npm
9393
command: |
@@ -97,7 +97,7 @@ jobs:
9797
paths:
9898
- node_modules
9999
- save_cache:
100-
key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
100+
key: v{{ .Environment.CACHE_VERSION }}-dependency-cache-{{ checksum "package-lock.json" }}
101101
paths:
102102
- node_modules
103103

0 commit comments

Comments
 (0)