File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 3
3
# https://docs.travis-ci.com/user/customizing-the-build/
4
4
# https://docs.travis-ci.com/user/migrating-from-legacy/
5
5
6
+ filter_secrets : false
6
7
language : node_js
7
8
8
9
node_js :
@@ -24,3 +25,18 @@ script: npm run lint && npm run coverage
24
25
after_success :
25
26
# send code-coverage data to Coveralls
26
27
- cat ./coverage/lcov.info | coveralls
28
+
29
+ jobs :
30
+ include :
31
+ - stage : Deploy
32
+ name : Publish to npm
33
+ script : true
34
+ after_success : true
35
+ deploy :
36
+ provider : npm
37
+ email : $NPM_EMAIL
38
+ api_key : $NPM_API_KEY
39
+ skip_cleanup : true
40
+ on :
41
+ tags : true
42
+ branch : master
Original file line number Diff line number Diff line change 33
33
"coverage" : " nyc --reporter=text --reporter=lcov mocha" ,
34
34
"upgrade" : " npm-check -u" ,
35
35
"bump" : " bump --prompt --tag --push --all" ,
36
- "release" : " npm run upgrade && npm test && npm run bump && npm publish "
36
+ "release" : " npm run upgrade && npm test && npm run bump"
37
37
},
38
38
"devDependencies" : {
39
39
"browserify" : " ^16.2.3" ,
You can’t perform that action at this time.
0 commit comments