mirror of
https://github.com/scratchfoundation/scratch-semantic-release-config.git
synced 2024-11-27 09:55:45 -05:00
22 lines
370 B
YAML
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
|