Skip to content

Commit ced4245

Browse files
authored
ci: configure trusted publisher flow
1 parent cf2eaa2 commit ced4245

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
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
gh-release:
1014
name: Create GitHub Release
@@ -37,6 +41,5 @@ jobs:
3741

3842
- name: Publish to NPM
3943
env:
40-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4144
NPM_CONFIG_PROVENANCE: true
4245
run: pnpm publish --no-git-checks

0 commit comments

Comments
 (0)