Skip to content

Commit 13a8c64

Browse files
committed
ci: enable refactor and docs commit to generate release
1 parent 38638a8 commit 13a8c64

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

release.config.mjs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,21 @@ export const config = {
1515
],
1616
preset: 'conventionalcommits',
1717
plugins: [
18-
'@semantic-release/commit-analyzer',
18+
[
19+
'@semantic-release/commit-analyzer',
20+
{
21+
releaseRules: [
22+
{
23+
type: 'docs',
24+
release: 'patch',
25+
},
26+
{
27+
type: 'refactor',
28+
release: 'patch',
29+
},
30+
],
31+
},
32+
],
1933
'@semantic-release/release-notes-generator',
2034
'@semantic-release/npm',
2135
'@semantic-release/github',

0 commit comments

Comments
 (0)