Skip to content

Commit 37bb043

Browse files
committed
ci: github action as trusted publisher removes token
1 parent e4f6233 commit 37bb043

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Release
22

3+
permissions:
4+
id-token: write
5+
contents: read
6+
37
on:
48
workflow_dispatch: ~
59
push:
@@ -42,5 +46,3 @@ jobs:
4246

4347
- name: Publish to npm
4448
run: pnpm publish --no-git-checks
45-
env:
46-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)