mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-29 04:45:19 +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
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: v1-react-navigation-{{ .Branch }} # generate cache per branch
|
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:
|
- save_cache:
|
||||||
key: v1-react-navigation-{{ .Branch }} # generate cache per branch
|
key: v1-react-navigation-{{ .Branch }} # generate cache per branch
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
case $CIRCLE_NODE_INDEX in
|
case $CIRCLE_NODE_INDEX in
|
||||||
0) yarn && yarn test && yarn codecov ;;
|
0) yarn test && yarn codecov ;;
|
||||||
1) cd examples/NavigationPlayground && yarn && yarn test ;;
|
1) cd examples/NavigationPlayground && yarn && yarn test ;;
|
||||||
2) cd examples/ReduxExample && yarn && yarn test ;;
|
2) cd examples/ReduxExample && yarn && yarn test ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user