Skip to content

Commit 58d0da0

Browse files
committed
chore: fix release CI
1 parent 6a65331 commit 58d0da0

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"keywords": [
1919
"lovelace"
2020
],
21-
"npmPublish": false,
2221
"author": "RomRider",
2322
"license": "MIT",
2423
"bugs": {

release.config.js

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/* eslint-disable no-template-curly-in-string */
2+
module.exports = {
3+
plugins: [
4+
'@semantic-release/commit-analyzer',
5+
[
6+
'@semantic-release/release-notes-generator',
7+
{
8+
preset: 'conventionalcommits',
9+
presetConfig: {
10+
types: [
11+
{ type: 'feat', section: 'Features' },
12+
{ type: 'fix', section: 'Bug Fixes' },
13+
{ type: 'doc', hidden: false, section: 'Documentation' },
14+
{ type: 'docs', hidden: false, section: 'Documentation' },
15+
{ type: 'chore', hidden: true, section: 'Chores' },
16+
],
17+
},
18+
},
19+
],
20+
'@semantic-release/changelog',
21+
[
22+
'@semantic-release/npm',
23+
{
24+
npmPublish: false,
25+
},
26+
],
27+
[
28+
'@semantic-release/git',
29+
{
30+
assets: ['CHANGELOG.md', 'README.md', 'package.json', 'yarn.lock'],
31+
},
32+
],
33+
[
34+
'@semantic-release/github',
35+
{
36+
assets: 'dist/*.js',
37+
},
38+
],
39+
],
40+
preset: 'conventionalcommits',
41+
branches: [{ name: 'master' }, { name: 'dev', channel: 'beta', prerelease: true }],
42+
};

0 commit comments

Comments
 (0)