Skip to content

Commit

Permalink
fix(build): build before release
Browse files Browse the repository at this point in the history
  • Loading branch information
maumercado committed Jun 9, 2019
1 parent d6ed252 commit b3fccd9
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,9 @@ node_js:
notifications:
email: false

jobs:
include:
# Define the release stage that runs semantic-release
- stage: release
node_js: lts/*
# Advanced: optionally overwrite your default `script` step to skip the tests
# script: skip
after_success:
- npx semantic-release
deploy:
provider: script
skip_cleanup: true
script:
- npm run build
before_script:
- npm prune
script:
- npm run build
after_success:
- npm run semantic-release

0 comments on commit b3fccd9

Please sign in to comment.