Skip to content

Commit 3ff4118

Browse files
committed
fix(ci): fix permissions for OIDC for trusted publishing
1 parent b66a273 commit 3ff4118

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
id-token: write # trusted publishing - required for OIDC
10+
contents: read
11+
812
concurrency: ${{ github.workflow }}-${{ github.ref }}
913

1014
jobs:
@@ -15,6 +19,9 @@ jobs:
1519
- name: Checkout
1620
uses: actions/checkout@v4
1721

22+
- name: Update npm
23+
run: npm install -g npm@latest
24+
1825
- name: Setup
1926
uses: ./.github/actions/setup
2027

0 commit comments

Comments
 (0)