ci: use yarn.lock instead of package-lock.json

This commit is contained in:
Evan You 2018-03-12 09:34:02 -04:00
parent 702000971c
commit cf0b1b745f
1 changed files with 2 additions and 2 deletions

View File

@ -12,12 +12,12 @@ jobs:
- checkout
- restore_cache:
keys:
- v1-vue-{{ .Branch }}-{{ checksum "package-lock.json" }}
- v1-vue-{{ .Branch }}-{{ checksum "yarn.lock" }}
- v1-vue-{{ .Branch }}-
- v1-vue-
- run: npm install
- save_cache:
key: v1-vue-{{ .Branch }}-{{ checksum "package-lock.json" }}
key: v1-vue-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- node_modules/
- persist_to_workspace: