ci: adjust cache

This commit is contained in:
Evan You 2017-10-13 12:42:42 -04:00
parent f865b0d767
commit 6658b81a3b
3 changed files with 2 additions and 7268 deletions

View File

@ -15,21 +15,12 @@ jobs:
- v1-vue-{{ .Branch }}-{{ checksum "package-lock.json" }}
- v1-vue-{{ .Branch }}-
- v1-vue-
- restore_cache:
keys:
- v1-vue-ssr-{{ .Branch }}-{{ checksum "packages/vue-server-renderer/package-lock.json" }}
- v1-vue-ssr-{{ .Branch }}-
- v1-vue-ssr-
- run: npm install
- run: cd packages/vue-server-renderer && npm install
- run: cd packages/vue-server-renderer && npm install vue
- save_cache:
key: v1-vue-{{ .Branch }}-{{ checksum "package-lock.json" }}
paths:
- node_modules/
- save_cache:
key: v1-vue-ssr-{{ .Branch }}-{{ checksum "packages/vue-server-renderer/package-lock.json" }}
paths:
- packages/vue-server-renderer/node_modules/
- persist_to_workspace:
root: ~/project
paths:

File diff suppressed because it is too large Load Diff

View File

@ -29,7 +29,7 @@
"source-map": "0.5.6"
},
"devDependencies": {
"vue": "file:../../"
"vue": "file:../.."
},
"homepage": "https://github.com/vuejs/vue/tree/dev/packages/vue-server-renderer#readme"
}