Skip to content

Commit be2111f

Browse files
committed
fix: trusted publishing
1 parent a485d5a commit be2111f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches: [main]
66

7+
permissions:
8+
id-token: write # Required for OIDC
9+
contents: read
10+
711
jobs:
812
release:
913
runs-on: ubuntu-latest
@@ -24,9 +28,6 @@ jobs:
2428
with:
2529
bun-version: latest
2630

27-
- name: Setup npmrc
28-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
29-
3031
- name: Install dependencies
3132
run: bun install --frozen-lockfile
3233

0 commit comments

Comments
 (0)