Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(publishing): add semantic-release #415

Merged
merged 14 commits into from
Apr 30, 2018
17 changes: 14 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start

script:
- npm run travis:$JOB_PART
- commitlint-travis
jobs:
include:
- stage: tests
script: npm run travis:$JOB_PART
- stage: commint lint
script: commitlint-travis
- stage: NPM release
node_js: "7"
script: echo "Deploying new webpack-cli version to npm ..."
deploy:
script: npx semantic-release
provider: npm
api_key: $NPM_API_KEY
on: deploy-npm-release
Loading