Skip to content

Commit 6fd192c

Browse files
authored
chore: set up npm trusted publishing (#1108)
1 parent a5f66c2 commit 6fd192c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ concurrency:
1616
cancel-in-progress: false
1717

1818
permissions:
19+
id-token: write # to enable use of OIDC (npm trusted publishing and provenance)
1920
contents: write # to be able to publish a GitHub release
20-
id-token: write # to enable use of OIDC for npm provenance
2121
issues: write # to be able to comment on released issues
2222
pull-requests: write # to be able to comment on released pull requests
2323

@@ -50,5 +50,3 @@ jobs:
5050
run: pnpm exec semantic-release
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53-
NPM_CONFIG_PROVENANCE: true
54-
NPM_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}

0 commit comments

Comments
 (0)