Skip to content

Commit

Permalink
Add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ganlvtech committed Jan 30, 2019
1 parent 233aa44 commit d3c4e81
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: node_js
node_js:
- "10"
cache: npm
branches:
only:
- master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
script:
- npm run build
- zip dist.zip -r dist
deploy:
- provider: releases
api-key: $GITHUB_TOKEN
file: ./dist.zip
skip-cleanup: true
on:
tags: true

0 comments on commit d3c4e81

Please # to comment.