Skip to content

Commit

Permalink
Revert "dont use cache on pre-release (#1082)" (#1086)
Browse files Browse the repository at this point in the history
This reverts commit ae735a1.
  • Loading branch information
Bruno Barbieri authored Sep 12, 2019
1 parent 506cec3 commit e4cb2ad
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
aliases:
- &restore-cache
keys:
- v1.0.7-{{ .Branch }}-{{ checksum "package.json" }}
- v1.0.7-{{ .Branch }}

- &save-cache
key: v1.0.7-{{ .Branch }}-{{ checksum "package.json" }}
paths:
- node_modules
- &restore-node-cache
keys:
- v1.0.7-node-{{ .Branch }}-{{ checksum "package.json" }}
Expand All @@ -23,11 +32,13 @@ jobs:
xcode: 10.2.0
steps:
- checkout
- restore_cache: *restore-cache
- run: *install-node-dependencies
- persist_to_workspace:
root: .
paths:
- node_modules
- save_cache: *save-cache
prep-node-deps:
<<: *defaults
docker:
Expand Down

0 comments on commit e4cb2ad

Please sign in to comment.