Skip to content

Commit

Permalink
update npm cache key
Browse files Browse the repository at this point in the history
Summary: Closes #17708

Differential Revision: D6775450

Pulled By: hramos

fbshipit-source-id: f8b04655dac942c84765ee01359c5f1589e00b76
  • Loading branch information
hramos authored and facebook-github-bot committed Jan 22, 2018
1 parent 9a19867 commit f50af7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit f50af7f

Please sign in to comment.