Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ansidev committed Feb 9, 2019
1 parent f9c36eb commit 8f3000c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,21 @@ addons:
- curl

before_install:
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
- export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"
- [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
- nvm use 11
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"

install:
- yarn install
- yarn dist
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file:
- "dist/*"
on:
tags: true

0 comments on commit 8f3000c

Please sign in to comment.