Skip to content

Commit 874644b

Browse files
ci(commits): Use conventionalcommits format for analysing the commit
1 parent 4884d27 commit 874644b

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/create-github-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
node-version: 20
3232

3333
- name: Perform release
34-
run: npx --package @semantic-release/exec semantic-release
34+
run: npx --package @semantic-release/exec --package conventional-changelog-conventionalcommits semantic-release
3535
env:
3636
GH_TOKEN: ${{ steps.get_access_token.outputs.token }}

.releaserc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
}
2222
],
2323
"@semantic-release/github",
24-
"@semantic-release/commit-analyzer"
24+
[
25+
"@semantic-release/commit-analyzer",
26+
{
27+
"preset": "conventionalcommits"
28+
}
29+
]
2530
]
2631
}

0 commit comments

Comments
 (0)