Skip to content

Commit 421e239

Browse files
committed
chore(publishing): use oidc
1 parent 8ab9cea commit 421e239

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ on:
1717

1818
permissions:
1919
contents: read
20+
# For npm OIDC (https://docs.npmjs.com/trusted-publishers)
21+
id-token: write
2022

2123
env:
2224
COMMIT_SHA: ${{ github.sha }}
@@ -115,8 +117,6 @@ jobs:
115117

116118
- name: Publish
117119
working-directory: packages/${{ matrix.package }}
118-
env:
119-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
120120
run: |
121121
# Install deps
122122
pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)