Skip to content

Commit 33c6e36

Browse files
authored
Merge pull request #9 from dkmaker/publish-fix
fix: use .cjs extension for conventional changelog config
2 parents a29d258 + 9f7cda3 commit 33c6e36

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
types: [
3+
{ type: 'feat', section: 'Features' },
4+
{ type: 'fix', section: 'Bug Fixes' },
5+
{ type: 'chore', section: 'Maintenance' },
6+
{ type: 'docs', section: 'Documentation' },
7+
{ type: 'style', section: 'Styling' },
8+
{ type: 'refactor', section: 'Code Refactoring' },
9+
{ type: 'perf', section: 'Performance' },
10+
{ type: 'test', section: 'Testing' },
11+
{ type: 'ci', section: 'CI/CD' },
12+
{ type: 'build', section: 'Build System' }
13+
]
14+
};

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
github-token: ${{ secrets.GITHUB_TOKEN }}
3434
git-message: 'chore(release): {version}'
35-
config-file-path: '.github/conventional-changelog.config.js'
35+
config-file-path: '.github/conventional-changelog.config.cjs'
3636
tag-prefix: 'v'
3737
output-file: 'CHANGELOG.md'
3838
skip-version-file: false

0 commit comments

Comments
 (0)