Skip to content

Commit

Permalink
chore(semantic-release): try to configure semantic-release for monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Andrade committed Jun 7, 2020
1 parent 212f75c commit 8445647
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
branches:
only:
- master
- /^v?\d+\.\d+(\.\d+)?(-\S*)?$/
language: node_js
jobs:
include:
- stage: release
node_js: lts/*
deploy:
provider: script
script:
- npx semantic-release
node_js:
- node
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"husky:prepush": "npm run test",
"lerna:install": "lerna bootstrap",
"postinstall": "npm run lerna:install",
"semantic-release": "lerna exec --concurrency 1 -- npx --no-install semantic-release -e semantic-release-monorepo",
"test": "lerna run test"
},
"repository": {
Expand Down

0 comments on commit 8445647

Please sign in to comment.