mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-01-12 22:51:18 +08:00
Make sure root deps are installed before running yarn in example folders
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user