Skip to content

Commit

Permalink
travis auto publish test
Browse files Browse the repository at this point in the history
  • Loading branch information
wartoshika committed Oct 5, 2019
1 parent fa92f89 commit 1914c42
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ script:
after_success:
- npm run coverage:send:coveralls

before_deploy:
- npm run build

deploy:
provider: npm
skip_cleanup: true
api_key: $NPM_API_KEY
on:
tags: true

cache:
directories:
- node_modules
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"main": "dist/api.js",
"types": "dist/api.d.ts",
"bin": "dist/bin/qhun-transpiler.js",
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/wartoshika/qhun-transpiler/issues"
},
Expand Down

0 comments on commit 1914c42

Please sign in to comment.