Skip to content

Commit

Permalink
fix: release.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkeyl committed Feb 7, 2024
1 parent 8d6c24e commit 071d770
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
run: npm ci

- name: Create Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
7 changes: 5 additions & 2 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,13 @@ export default {
{
presetConfig: {
types: [
{ type: 'feat', section: 'Features' },
{ type: 'fix', section: 'Bug Fixes' },
{ type: 'refactor', section: 'Code Refactoring' },
{ type: 'perf', section: 'Performance Improvements' },
{ type: 'revert', section: 'Reverts' },
{ type: 'docs', section: 'Documentation' },
{ type: 'style', section: 'Styles' },
{ type: 'test', section: 'Tests' },
],
},
writerOpts: {
Expand All @@ -77,9 +80,9 @@ export default {
changelogTitle: '# Changelog',
},
],
'@semantic-release/npm',
'@semantic-release/git',
'@semantic-release/github',
'@semantic-release/npm',
],
preset: 'conventionalcommits',
};

0 comments on commit 071d770

Please sign in to comment.