Clear CI caches

This commit is contained in:
Adam Miskiewicz
2017-05-15 19:41:19 -07:00
parent ed0b6c0ecf
commit 59d81aa6d7

View File

@@ -8,7 +8,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v1-react-navigation-{{ .Branch }} # generate cache per branch key: v2-react-navigation-{{ .Branch }} # generate cache per branch
- run: yarn # install root deps - run: yarn # install root deps
- run: ./scripts/test.sh # run tests - run: ./scripts/test.sh # run tests
- deploy: - deploy:
@@ -24,7 +24,7 @@ jobs:
cd examples/ExpoNavigationPlayground && yarn && exp publish cd examples/ExpoNavigationPlayground && yarn && exp publish
fi fi
- save_cache: - save_cache:
key: v1-react-navigation-{{ .Branch }} # generate cache per branch key: v2-react-navigation-{{ .Branch }} # generate cache per branch
paths: paths:
- ~/.cache/yarn - ~/.cache/yarn
- ~/react-navigation/website/node_modules - ~/react-navigation/website/node_modules