fix: Fix semantic-release deploys

Updated .travis.yml to match the example provided in the documentation
https://semantic-release.gitbooks.io/semantic-release/content/docs/recipes/travis.html
This commit is contained in:
Cole Bemis 2018-02-20 12:48:09 -08:00
parent 5a8a8b7d93
commit b3655c438f
2 changed files with 6 additions and 4 deletions

View File

@ -9,5 +9,8 @@ before_script:
- npm prune
script:
- npm start
after_success:
- npm run semantic-release
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release

View File

@ -13,8 +13,7 @@
"test": "jest",
"cm": "git-cz",
"precommit": "lint-staged",
"commitmsg": "commitlint --edit",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"commitmsg": "commitlint --edit"
},
"config": {
"commitizen": {