Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
build: Add cache version environment variable to the cache
Browse files Browse the repository at this point in the history
  • Loading branch information
tomheller authored and ffriedl89 committed Jun 9, 2020
1 parent e356493 commit 69a0d68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ defaults: &defaults

npm_cache: &npm_cache
keys:
- npm-packages-{{ checksum "package-lock.json" }}
- npm-packages-
- npm-packages-v1-{{ checksum "package-lock.json" }}
- npm-packages-v1-

# The last sha of the branch that holds the previous commit sha.
# could be either master, 4.x or 4.10.x
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
npm run ng run examples-tools:build
npm run ng run barista-tools:build
- save_cache:
key: npm-packages-{{ checksum "package-lock.json" }}
key: npm-packages-v1-{{ checksum "package-lock.json" }}
paths:
- node_modules
- persist_to_workspace:
Expand Down

0 comments on commit 69a0d68

Please sign in to comment.