ci: Use cache version from circle environment var (#6286)

feature/default_network_editable
kumavis 6 years ago committed by Whymarrh Whitby
parent daae155ce2
commit 1985dcc494
  1. 4
      .circleci/config.yml

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

Loading…
Cancel
Save