Skip to content

Commit c915078

Browse files
committed
ci(npm): adjust permissions to work with Trusted publishing
1 parent a2f6a28 commit c915078

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
release:
88
types: [published] # Trigger publish job when a GitHub release is published
99

10+
permissions:
11+
id-token: write # required for OICD see npm Trusted publishing
12+
contents: read
13+
1014
jobs:
1115
build-and-test:
1216
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)