Skip to content

Commit 3ee7c72

Browse files
committed
ci: manually publish rather than use semantic-release/npm
1 parent 0c4d375 commit 3ee7c72

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,3 @@ jobs:
5757
env:
5858
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
5959
SEMANTIC_RELEASE_DEBUG: true
60-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"import": "./dist/index.js"
2323
},
2424
"./package.json": "./package.json"
25-
}
25+
},
26+
"provenance": true
2627
},
2728
"scripts": {
2829
"prepare": "husky install",

release.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ const config = {
1414
prepareCmd: "pnpm install --no-frozen-lockfile",
1515
},
1616
],
17-
["@semantic-release/npm", { npmPublish: true, provenance: true }],
17+
["@semantic-release/npm", { npmPublish: false }],
18+
[
19+
"@semantic-release/exec",
20+
{
21+
publishCmd: "pnpm publish",
22+
},
23+
],
1824
[
1925
"@semantic-release/git",
2026
{

0 commit comments

Comments
 (0)