Skip to content

Commit c2a1776

Browse files
committed
chore: bump semantic release
1 parent ef05833 commit c2a1776

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.travis.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,15 @@ language: node_js
22
cache:
33
directories:
44
- node_modules
5+
- ~/.npm
56
node_js:
6-
- '7'
7+
- '9'
78
- '6'
89
- '4'
9-
notifications:
10-
email: false
11-
before_script:
12-
- npm prune
13-
script:
14-
- npm run test
10+
before_install:
11+
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
1512
after_success:
16-
- npm run semantic-release
13+
- npm run travis-deploy-once "npm run semantic-release"
1714
branches:
1815
except:
1916
- /^v\d+\.\d+\.\d+$/

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"commit": "git-cz",
1717
"commitmsg": "validate-commit-msg",
1818
"prepush": "npm test",
19-
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
19+
"semantic-release": "semantic-release",
20+
"travis-deploy-once": "travis-deploy-once"
2021
},
2122
"dependencies": {
2223
"plugin-error": "~1.0.1",
@@ -29,9 +30,10 @@
2930
"cz-conventional-changelog": "^2.0.0",
3031
"faucet": "0.0.1",
3132
"husky": "^0.13.3",
32-
"semantic-release": "^6.3.2",
33+
"semantic-release": "^15.6.0",
3334
"tape": "^4.0.1",
34-
"validate-commit-msg": "^2.12.1",
35+
"travis-deploy-once": "^5.0.0",
36+
"validate-commit-msg": "^2.14.0",
3537
"vinyl": "^2.1.0"
3638
},
3739
"config": {

0 commit comments

Comments
 (0)