Skip to content

Commit 5dc238a

Browse files
committed
Update npm publishing
1 parent f1a46c4 commit 5dc238a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77

88
concurrency: ${{ github.workflow }}-${{ github.ref }}
99

10+
# https://docs.npmjs.com/trusted-publishers
11+
permissions:
12+
id-token: write
13+
contents: read
14+
1015
jobs:
1116
release:
1217
name: Release
@@ -41,7 +46,6 @@ jobs:
4146
title: "chore: version packages"
4247
env:
4348
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4549

4650
- name: Create GitHub Releases
4751
if: steps.changesets.outputs.published == 'true'

0 commit comments

Comments
 (0)