Fallback to using the latest cache if no exact match is found

This commit is contained in:
Bruno Barbieri 2018-07-06 14:48:39 -04:00 committed by GitHub
parent c567a4b8f3
commit a875caa20c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -101,7 +101,10 @@ jobs:
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
keys:
- dependency-cache-{{ checksum "package-lock.json" }}
# fallback to using the latest cache if no exact match is found
- dependency-cache-
- run:
name: Install deps via npm
command: |