Skip to content

Commit f655d45

Browse files
committed
ci: move public logic to exec plugin
1 parent a608160 commit f655d45

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

release.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ const config = {
88
"@semantic-release/commit-analyzer",
99
"@semantic-release/release-notes-generator",
1010
["@semantic-release/changelog", { changelogFile: "CHANGELOG.md" }],
11+
[
12+
"@semantic-release/exec",
13+
{
14+
prepareCmd: "pnpm install --no-frozen-lockfile",
15+
publishCmd: "pnpm publish --no-git-checks --tag ${nextRelease.channel || 'latest'}",
16+
},
17+
],
1118
["@semantic-release/npm", { npmPublish: false }],
1219
[
1320
"@semantic-release/git",

0 commit comments

Comments
 (0)