Cache git checkouts

This commit is contained in:
rschamp committed 2019-09-20 13:12:12 -04:00
1 parent d011aca301
commit f71e117e3a
1 file changed
+12
+12
View File
@@ -14,7 +14,15 @@ jobs:
working_directory: ~/repo
steps:
- restore_cache:
keys:
- v1-git-{{ .Revision }}
- v1-git-
- checkout
- save_cache:
paths:
- .git
key: v1-git-{{ .Revision }}
# Download and cache dependencies
- restore_cache:
@@ -75,6 +83,10 @@ jobs:
- image: circleci/node:8.16-browsers
working_directory: ~/repo
steps:
- restore_cache:
keys:
- v1-git-{{ .Revision }}
- v1-git-
- checkout
- restore_cache:
keys: