diff --git a/.github/conventional-changelog.config.cjs b/.github/conventional-changelog.config.cjs new file mode 100644 index 0000000..8d34248 --- /dev/null +++ b/.github/conventional-changelog.config.cjs @@ -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' } + ] +}; diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f3514da..15862af 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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