Skip to content

Commit

Permalink
feat: publish to npm automatically (#93)
Browse files Browse the repository at this point in the history
* feat: publish to npm in travis

* fix: fix tag by the comments
  • Loading branch information
luhc228 authored Apr 13, 2020
1 parent b08f358 commit 04bc60e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ script:
- npm run lint:nofix
- npm run test
after_success:
- npm run coverage
- npm run coverage
deploy:
provider: npm
email: [email protected]
api_key: $NPM_AUTH_TOKEN
skip_cleanup: true
on:
tags: true
tag: latest

0 comments on commit 04bc60e

Please sign in to comment.