Skip to content

Commit 44ac55d

Browse files
committed
ci: semantic-release
1 parent 00250d8 commit 44ac55d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

package.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,31 @@
4646
"./viewer-umd.js": "./dist/umd/viewer.umd.js",
4747
"./vtk-umd.js": "./dist/umd/vtk.umd.js",
4848
"./viewer.css": "./dist/umd/viewer.css"
49+
},
50+
"config": {
51+
"commitizen": {
52+
"path": "cz-conventional-changelog"
53+
}
54+
},
55+
"release": {
56+
"branches": [
57+
"main"
58+
],
59+
"plugins": [
60+
[
61+
"@semantic-release/commit-analyzer",
62+
{
63+
"preset": "conventionalcommits"
64+
}
65+
],
66+
"@semantic-release/release-notes-generator",
67+
"@semantic-release/npm",
68+
[
69+
"@semantic-release/github",
70+
{
71+
"successCommentCondition": "<% return branch.name === 'main'; %>"
72+
}
73+
]
74+
]
4975
}
5076
}

0 commit comments

Comments
 (0)