Skip to content

Commit

Permalink
chore: fix release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RomRider committed Apr 2, 2023
1 parent 6a65331 commit 58d0da0
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"keywords": [
"lovelace"
],
"npmPublish": false,
"author": "RomRider",
"license": "MIT",
"bugs": {
Expand Down
42 changes: 42 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/* eslint-disable no-template-curly-in-string */
module.exports = {
plugins: [
'@semantic-release/commit-analyzer',
[
'@semantic-release/release-notes-generator',
{
preset: 'conventionalcommits',
presetConfig: {
types: [
{ type: 'feat', section: 'Features' },
{ type: 'fix', section: 'Bug Fixes' },
{ type: 'doc', hidden: false, section: 'Documentation' },
{ type: 'docs', hidden: false, section: 'Documentation' },
{ type: 'chore', hidden: true, section: 'Chores' },
],
},
},
],
'@semantic-release/changelog',
[
'@semantic-release/npm',
{
npmPublish: false,
},
],
[
'@semantic-release/git',
{
assets: ['CHANGELOG.md', 'README.md', 'package.json', 'yarn.lock'],
},
],
[
'@semantic-release/github',
{
assets: 'dist/*.js',
},
],
],
preset: 'conventionalcommits',
branches: [{ name: 'master' }, { name: 'dev', channel: 'beta', prerelease: true }],
};

0 comments on commit 58d0da0

Please sign in to comment.