Make sure root deps are installed before running yarn in example folders

This commit is contained in:
Adam Miskiewicz
2017-05-14 23:16:02 -07:00
parent 9edb4ef5e8
commit a61b4478f0
2 changed files with 3 additions and 2 deletions

View File

@@ -9,7 +9,8 @@ jobs:
- checkout
- restore_cache:
key: v1-react-navigation-{{ .Branch }} # generate cache per branch
- run: ./scripts/test.sh
- run: yarn # install root deps
- run: ./scripts/test.sh # run tests
- save_cache:
key: v1-react-navigation-{{ .Branch }} # generate cache per branch
paths:

View File

@@ -3,7 +3,7 @@
set -eo pipefail
case $CIRCLE_NODE_INDEX in
0) yarn && yarn test && yarn codecov ;;
0) yarn test && yarn codecov ;;
1) cd examples/NavigationPlayground && yarn && yarn test ;;
2) cd examples/ReduxExample && yarn && yarn test ;;
esac