Skip to content

Commit 1556bde

Browse files
committed
ci: migrate to npm trusted publishers (OIDC)
1 parent 302faf7 commit 1556bde

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66

77
permissions:
88
contents: write
9+
issues: write
10+
pull-requests: write
11+
id-token: write
912

1013
jobs:
1114
release:
@@ -28,6 +31,7 @@ jobs:
2831
uses: actions/setup-node@v4
2932
with:
3033
node-version-file: .nvmrc
34+
registry-url: https://registry.npmjs.org
3135

3236
- name: Setup pnpm
3337
uses: pnpm/action-setup@v4
@@ -58,5 +62,4 @@ jobs:
5862
- name: Release
5963
env:
6064
GH_TOKEN: ${{ secrets.GH_TOKEN }}
61-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6265
run: pnpm dlx semantic-release

0 commit comments

Comments
 (0)