Skip to content

Commit 8c13167

Browse files
committed
chore: update permissions for npm publish workflow
1 parent 2bd589d commit 8c13167

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
release:
55
types: [created]
66

7+
permissions:
8+
id-token: write
9+
contents: read
10+
711
jobs:
812
build:
913
runs-on: ubuntu-latest
@@ -26,5 +30,3 @@ jobs:
2630
bun-version: latest
2731
- run: bun ci
2832
- run: bun publish
29-
env:
30-
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)