update npm cache key

Summary: Closes https://github.com/facebook/react-native/pull/17708

Differential Revision: D6775450

Pulled By: hramos

fbshipit-source-id: f8b04655dac942c84765ee01359c5f1589e00b76
This commit is contained in:
Héctor Ramos 2018-01-22 11:24:46 -08:00 committed by Facebook Github Bot
parent 9a19867798
commit f50af7f8a4
1 changed files with 3 additions and 3 deletions

View File

@ -1,14 +1,14 @@
aliases:
- &restore-node-cache
keys:
- v1-dependencies-{{ arch }}-{{ checksum "package.json" }}
- v2-dependencies-{{ arch }}-{{ checksum "package.json" }}
# Fallback in case checksum fails
- v1-dependencies-{{ arch }}-
- v2-dependencies-{{ arch }}-
- &save-node-cache
paths:
- node_modules
key: v1-dependencies-{{ arch }}-{{ checksum "package.json" }}
key: v2-dependencies-{{ arch }}-{{ checksum "package.json" }}
- &restore-cache-analysis
keys: