UNPKG

react-freshchat

Version:
33 lines (28 loc) 784 B
# For more options, check: https://circleci.com/docs/config-sample/ machine: timezone: America/New_York node: version: stable notify: webhooks: - url: https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN dependencies: pre: - echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc test: pre: - git remote set-branches --add origin master - git fetch - rm -rf test-results.json lint-results.json override: - LIST=$(git diff-index --name-only origin/master | grep .*\\.js | grep -v json | grep -v eslint | tr '\n' ' '); if [ "$LIST" ]; then npm run lint:ci -- $LIST; fi - npm run cicoverage - rm -fr ./coverage - npm run danger deployment: npm: branch: master commands: - npm publish