Skip to content

Commit

Permalink
ci: 完善 semantic-release 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
TabSpace committed Jul 23, 2020
1 parent ee83908 commit a41cbc5
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@ branches:
jobs:
include:
- stage: test
script: npm run test
script:
- echo "node version"
- node -v
- git --version
- npm run test
- stage: release
script: npm run semantic-release
node_js: lts/*
# Advanced: optionally overwrite your default `script` step to skip the tests
# script: skip
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release

0 comments on commit a41cbc5

Please sign in to comment.