mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-05-23 00:38:42 +08:00
33 lines
800 B
YAML
33 lines
800 B
YAML
machine:
|
|
node:
|
|
version: 6
|
|
environment:
|
|
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
|
|
|
|
dependencies:
|
|
pre:
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
|
cache_directories:
|
|
- ~/.cache/yarn
|
|
- ./website/node_modules
|
|
- ./examples/NavigationPlayground/node_modules
|
|
- ./examples/ReduxExample/node_modules
|
|
override:
|
|
- yarn
|
|
- cd website && yarn
|
|
- cd examples/NavigationPlayground && yarn add file:../.. && yarn
|
|
- cd examples/ReduxExample && yarn add file:../.. && yarn
|
|
|
|
test:
|
|
post:
|
|
- yarn codecov
|
|
- cd examples/NavigationPlayground && yarn test
|
|
- cd examples/ReduxExample && yarn test
|
|
|
|
deployment:
|
|
website-prod:
|
|
branch: master
|
|
commands:
|
|
- yarn run build-docs
|
|
- ./scripts/deploy-website.sh
|