Skip to content

Commit 8292b85

Browse files
authored
Enable NPM Trusted Publishing (#10975)
* Enable NPM Trusted Publishing * Update changesets.yml
1 parent 2429533 commit 8292b85

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/changesets.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- main
77

88
permissions:
9+
id-token: write
910
contents: read
1011
# note: no write permissions are needed since the workflow uses GH_ACCESS_TOKEN instead of GITHUB_TOKEN
1112

@@ -59,7 +60,6 @@ jobs:
5960
publish: pnpm exec changeset publish
6061
env:
6162
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
62-
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
6363

6464
- name: Deploy non-NPM Packages
6565
id: deploy
@@ -75,7 +75,6 @@ jobs:
7575
WORKERS_SHARED_SENTRY_ACCESS_ID: ${{ secrets.WORKERS_SHARED_SENTRY_ACCESS_ID }}
7676
WORKERS_SHARED_SENTRY_ACCESS_SECRET: ${{ secrets.WORKERS_SHARED_SENTRY_ACCESS_SECRET }}
7777
WORKERS_SHARED_SENTRY_AUTH_TOKEN: ${{ secrets.WORKERS_SHARED_SENTRY_AUTH_TOKEN }}
78-
VSCE_PAT: ${{ secrets.VSCE_PAT }}
7978

8079
- name: Send Alert
8180
if: always()

0 commit comments

Comments
 (0)