mirror of
https://github.com/zhigang1992/react-native-gifted-chat.git
synced 2026-01-12 09:23:52 +08:00
36 lines
811 B
YAML
36 lines
811 B
YAML
---
|
|
machine:
|
|
environment:
|
|
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
|
|
node:
|
|
version: 8.2.0
|
|
dependencies:
|
|
override:
|
|
- yarn global add codecov
|
|
- yarn install --no-progress --no-emoji --ignore-engines
|
|
cache_directories:
|
|
- "node_modules"
|
|
- ~/.yarn
|
|
- ~/.cache/yarn
|
|
|
|
test:
|
|
override:
|
|
- yarn run lint
|
|
- yarn run test:coverage
|
|
- codecov
|
|
|
|
# TODO: deployment:
|
|
# release:
|
|
# tag: /v[0-9]+(\.[0-9]+)*/
|
|
# commands:
|
|
# - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
|
|
# - yarn publish --new-version `./scripts/version.js`
|
|
|
|
#deployment:
|
|
# appr:
|
|
# branch: /.*/
|
|
# commands:
|
|
# - 'export BRANCH="$CIRCLE_PROJECT_REPONAME/$CIRCLE_PROJECT_USERNAME#$CIRCLE_BRANCH"'
|
|
# - 'echo $BRANCH'
|
|
# - yarn appr
|