Skip to content

Commit

Permalink
ci!: publish with --conventional-commits
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Feb 20, 2021
1 parent 3af037c commit 03f61a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
git remote set-url origin "https://$GITHUB_ACTOR:$GH_TOKEN@github.com/$GITHUB_REPOSITORY.git"
git checkout master
npm set //registry.npmjs.org/:_authToken $NPM_TOKEN
yarn lerna publish --create-release github --yes
yarn lerna publish --conventional-commits --create-release github --yes
env:
CI: 'true'
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 3 additions & 5 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,14 @@
"allowBranch": [
"develop",
"master"
],
"conventionalCommits": true,
"gitReset": false,
"message": "chore: release package(s)"
]
},
"publish": {
"ignoreChanges": [
"**/test/**",
"**/*.md"
]
],
"message": "chore: release package(s)"
}
}
}

0 comments on commit 03f61a1

Please sign in to comment.