Skip to content

Commit

Permalink
build: enable semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
DJTB committed May 4, 2018
1 parent 2f83c58 commit 4a95c0d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ script: npm start validate

after_success: npx codecov

# deploy:
# provider: script
# skip_cleanup: true
# script: npx semantic-release
deploy:
provider: script
skip_cleanup: true
script: npx semantic-release

branches:
except: /^v\d+\.\d+\.\d+$/
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"scripts": {
"start": "nps --no-scripts",
"precommit": "lint-staged",
"test": "nps test"
"test": "nps test",
"travis-deploy-once": "travis-deploy-once",
"semantic-release": "semantic-release"
},
"main": "dist/index.js",
"files": [
Expand Down Expand Up @@ -64,7 +66,9 @@
"styled-components": "3.2.6",
"webpack": "4.6.0",
"webpack-cli": "2.1.2",
"webpack-dev-server": "3.1.4"
"webpack-dev-server": "3.1.4",
"travis-deploy-once": "^5.0.0",
"semantic-release": "^15.2.0"
},
"config": {
"commitizen": {
Expand Down

0 comments on commit 4a95c0d

Please sign in to comment.