File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 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 :
@@ -20,3 +21,18 @@ script: npm run lint && npm run coverage
20
21
after_success :
21
22
# send code-coverage data to Coveralls
22
23
- cat ./coverage/lcov.info | coveralls
24
+
25
+ jobs :
26
+ include :
27
+ - stage : Deploy
28
+ name : Publish to npm
29
+ script : true
30
+ after_success : true
31
+ deploy :
32
+ provider : npm
33
+ email : $NPM_EMAIL
34
+ api_key : $NPM_API_KEY
35
+ skip_cleanup : true
36
+ on :
37
+ tags : true
38
+ branch : master
Original file line number Diff line number Diff line change 29
29
"coverage" : " nyc --reporter=text --reporter=lcov mocha" ,
30
30
"upgrade" : " npm-check -u" ,
31
31
"bump" : " bump --prompt --tag --push --all" ,
32
- "release" : " npm run upgrade && npm run test && npm run bump && npm publish "
32
+ "release" : " npm run upgrade && npm run test && npm run bump"
33
33
},
34
34
"devDependencies" : {
35
35
"browserify" : " ^16.2.3" ,
You can’t perform that action at this time.
0 commit comments