Browse Source

ci: adjust cache

dev
Evan You 7 years ago
parent
commit
6658b81a3b
  1. 11
      .circleci/config.yml
  2. 7257
      packages/vue-server-renderer/package-lock.json
  3. 2
      packages/vue-server-renderer/package.json

11
.circleci/config.yml

@ -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:

7257
packages/vue-server-renderer/package-lock.json

File diff suppressed because it is too large

2
packages/vue-server-renderer/package.json

@ -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"
}

Loading…
Cancel
Save