Skip to content

Commit a7c11d6

Browse files
committed
ci: update npm release config
1 parent b2ef069 commit a7c11d6

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

release.config.cjs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,20 @@ module.exports = {
66
plugins: [
77
'@semantic-release/commit-analyzer',
88
'@semantic-release/release-notes-generator',
9-
'@semantic-release/npm',
9+
[
10+
'@semantic-release/npm',
11+
{
12+
// only update the pkg version on root, don't publish
13+
npmPublish: false,
14+
},
15+
],
16+
[
17+
'@semantic-release/npm',
18+
{
19+
// publish from build dir instead of root
20+
pkgRoot: 'build',
21+
},
22+
],
1023
[
1124
'@semantic-release/github',
1225
{

0 commit comments

Comments
 (0)