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 committed Sep 12, 2019
1 parent 75dc543 commit 7e467cb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .circleci/config.yml
@@ -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 7e467cb

Please sign in to comment.