mirror of
https://github.com/scratchfoundation/scratch-semantic-release-config.git
synced 2024-11-30 11:17:20 -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
|