Skip to content

Commit 7624fdc

Browse files
committed
chore: use oidc publish
Signed-off-by: Kevin Cui <bh@bugs.cc>
1 parent ec8cb02 commit 7624fdc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
tags:
66
- "v*.*.*"
77

8+
permissions:
9+
id-token: write
10+
contents: read
11+
812
jobs:
913
release:
1014
runs-on: ubuntu-latest
@@ -51,5 +55,4 @@ jobs:
5155
- name: Publish
5256
run: |
5357
pnpm publish --access public --no-git-checks
54-
env:
55-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
58+

0 commit comments

Comments
 (0)