Skip to content

Commit

Permalink
ci: update npm release config
Browse files Browse the repository at this point in the history
  • Loading branch information
chenasraf committed Nov 24, 2023
1 parent b2ef069 commit a7c11d6
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,20 @@ module.exports = {
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/npm',
[
'@semantic-release/npm',
{
// only update the pkg version on root, don't publish
npmPublish: false,
},
],
[
'@semantic-release/npm',
{
// publish from build dir instead of root
pkgRoot: 'build',
},
],
[
'@semantic-release/github',
{
Expand Down

0 comments on commit a7c11d6

Please sign in to comment.