File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,20 @@ node_js:
8
8
- ' 8'
9
9
- ' 6'
10
10
- ' 4'
11
- before_script :
12
- - npm prune
13
- after_success :
14
- - test $TRAVIS_BRANCH = "master" && test $TRAVIS_PULL_REQUEST = "false" || echo "Not master" && exit 0
15
- - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
16
- - npm run semantic-release
11
+ env :
12
+ - BUILD_LEADER_ID=4
17
13
branches :
18
14
except :
19
15
- /^v\d+\.\d+\.\d+$/
16
+ before_script :
17
+ - npm prune
18
+ jobs :
19
+ include :
20
+ - stage : release
21
+ node_js : 8
22
+ os : linux
23
+ after_success :
24
+ - test $TRAVIS_BRANCH = "master" && test $TRAVIS_PULL_REQUEST = "false"
25
+ - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
26
+ - npm run semantic-release
27
+
Original file line number Diff line number Diff line change 26
26
"lint" : " xo" ,
27
27
"pretest" : " npm run -s lint" ,
28
28
"test" : " mocha -R spec src/**/*_test.js" ,
29
- "semantic-release" : " semantic-release pre && npm publish && semantic-release post " ,
29
+ "semantic-release" : " semantic-release" ,
30
30
"commitmsg" : " commitlint -e"
31
31
},
32
32
"dependencies" : {
43
43
"@commitlint/config-angular" : " ^3.1.1" ,
44
44
"husky" : " ^0.14.3" ,
45
45
"mocha" : " ~2.0.1" ,
46
- "semantic-release" : " ^7.0.2 " ,
46
+ "semantic-release" : " ^12.4.1 " ,
47
47
"should" : " ^4.0.4" ,
48
48
"strip-color" : " ^0.1.0" ,
49
49
"xo" : " ^0.13.0"
You can’t perform that action at this time.
0 commit comments