Skip to content

Commit 6c8eb02

Browse files
committed
build: fix package.json version update
1 parent 08b0488 commit 6c8eb02

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

release.config.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const releaseRules = [
66
{ type: "perf", section: "Misc", release: "patch" },
77
{ type: "build", section: "Build", release: "patch" },
88
{ type: "chore", section: "Misc", release: "patch" },
9-
{ type: "test", section: "Tests", release: "patch" },
9+
{ type: "test", section: "Tests", release: false },
1010
]
1111

1212
/** @type {import('semantic-release').Options} */
@@ -42,7 +42,7 @@ module.exports = {
4242
{
4343
preset: "conventionalcommits",
4444
parserOpts: {
45-
noteKeywords: ["breaking"],
45+
noteKeywords: ["breaking", "major"],
4646
types: releaseRules,
4747
},
4848
},
@@ -57,6 +57,13 @@ module.exports = {
5757
[
5858
"@semantic-release/npm",
5959
{
60+
npmPublish: false,
61+
},
62+
],
63+
[
64+
"@semantic-release/npm",
65+
{
66+
npmPublish: true,
6067
pkgRoot: "dist",
6168
},
6269
],

0 commit comments

Comments
 (0)