Skip to content

Commit 0d0470d

Browse files
authored
build: use npm v11 for trusted publishing support (#53)
release-as: 6.1.3
1 parent 252dbe1 commit 0d0470d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
node-version: 22
2828
registry-url: 'https://registry.npmjs.org'
2929
if: ${{ steps.release.outputs.release_created }}
30+
- run: npm install -g npm@11 # 11.5.1 needed for OIDC / Trusted publishing
31+
if: ${{ steps.release.outputs.release_created }}
3032
- run: yarn install --frozen-lockfile
3133
if: ${{ steps.release.outputs.release_created }}
3234
- run: yarn build

0 commit comments

Comments
 (0)