scratch-semantic-release-co.../.travis.yml
2019-06-11 14:01:53 -05:00

22 lines
370 B
YAML

language: node_js
node_js:
- "lts/*"
cache: npm
branches:
only:
- master
after_success:
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
deploy:
- provider: script
script: npx semantic-release -r
https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
skip_cleanup: true
keep_history: true
on:
branch: master