Skip to content

Commit

Permalink
ci: adjust cache
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Oct 13, 2017
1 parent f865b0d commit 6658b81
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7,268 deletions.
11 changes: 1 addition & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading

0 comments on commit 6658b81

Please sign in to comment.