Skip to content

Commit

Permalink
fix: use .cjs extension for conventional changelog config
Browse files Browse the repository at this point in the history
  • Loading branch information
dkmaker committed Jan 30, 2025
1 parent ed452f5 commit 9f7cda3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/conventional-changelog.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
types: [
{ type: 'feat', section: 'Features' },
{ type: 'fix', section: 'Bug Fixes' },
{ type: 'chore', section: 'Maintenance' },
{ type: 'docs', section: 'Documentation' },
{ type: 'style', section: 'Styling' },
{ type: 'refactor', section: 'Code Refactoring' },
{ type: 'perf', section: 'Performance' },
{ type: 'test', section: 'Testing' },
{ type: 'ci', section: 'CI/CD' },
{ type: 'build', section: 'Build System' }
]
};
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
git-message: 'chore(release): {version}'
config-file-path: '.github/conventional-changelog.config.js'
config-file-path: '.github/conventional-changelog.config.cjs'
tag-prefix: 'v'
output-file: 'CHANGELOG.md'
skip-version-file: false
Expand Down

0 comments on commit 9f7cda3

Please sign in to comment.