Skip to content

Commit

Permalink
ci: add conventional commits support
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed May 13, 2021
1 parent 7fa265a commit c18ba09
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Yarn install
run: yarn
- name: Run tag
run: yarn lerna version --conventional-commits --create-release github --yes
run: yarn lerna version --conventional-commits --changelog-preset conventionalcommits --create-release github --yes
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-and-deploy-api:
Expand Down
19 changes: 9 additions & 10 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
{
"version": "4.1.7",
"packages": [
"packages/*"
],
"npmClientArgs": [
"--no-lockfile"
],
"packages": ["packages/*"],
"npmClientArgs": ["--no-lockfile"],
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
"version": {
"ignoreChanges": [
"*.md"
],
"ignoreChanges": ["*.md"],
"npmClient": "yarn",
"message": "chore(release): publish %s"
"message": "chore(release): publish %s",
"conventionalCommits": true,
"changelogPreset": {
"name": "conventionalcommits",
"issueUrlFormat": "{{host}}/{{owner}}/{{repository}}/issues/{{id}}"
}
}
}
}

0 comments on commit c18ba09

Please sign in to comment.