Skip to content

Commit 58cf286

Browse files
committed
chore(ci): Fix trusted publishing
1 parent 596a8ce commit 58cf286

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
env:
1010
CI: 1
1111

12+
permissions:
13+
id-token: write # Required for OIDC
14+
contents: read
15+
1216
jobs:
1317
publish-npm:
1418
name: Publish to npm
@@ -20,6 +24,7 @@ jobs:
2024
uses: actions/setup-node@v2
2125
with:
2226
node-version: 20
27+
registry-url: "https://registry.npmjs.org"
2328

2429
- run: |
2530
corepack enable

0 commit comments

Comments
 (0)