Skip to content

Commit 1c4c877

Browse files
chore: enable trusted publishing in release workflow
1 parent cf939ff commit 1c4c877

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
uses: fingerprintjs/dx-team-toolkit/.github/workflows/release-typescript-project.yml@v1
1212
with:
1313
appId: ${{ vars.APP_ID }}
14+
useTrustedPublishing: true
1415
secrets:
1516
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
1617
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

.releaserc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@
2121
}
2222
],
2323
"@semantic-release/changelog",
24-
"@semantic-release/npm",
24+
[
25+
"@semantic-release/npm",
26+
{
27+
"npmPublish": false
28+
}
29+
],
2530
[
2631
"@semantic-release/exec",
2732
{

0 commit comments

Comments
 (0)