Skip to content

Commit

Permalink
circleCI - use cache version from circle environment var
Browse files Browse the repository at this point in the history
  • Loading branch information
kumavis committed Mar 12, 2019
1 parent daae155 commit bc83549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
- checkout
- restore_cache:
keys:
- v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- v{{ .Environment.CACHE_VERSION }}-dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Install npm 6 + deps via npm
command: |
Expand All @@ -97,7 +97,7 @@ jobs:
paths:
- node_modules
- save_cache:
key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
key: v{{ .Environment.CACHE_VERSION }}-dependency-cache-{{ checksum "package-lock.json" }}
paths:
- node_modules

Expand Down

0 comments on commit bc83549

Please sign in to comment.