Skip to content

Commit e97931b

Browse files
authored
chore(publishing): use oidc (#8085)
1 parent 2f42473 commit e97931b

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)