fix(releases): use npm 11.x for OIDC support in the release workflow (#2742)

Support for OIDC requires npm v11.5.1 or newer.
This commit is contained in:
Saadi Myftija
2025-12-04 12:21:21 +01:00
committed by GitHub
parent 249878ed92
commit 748ae658f7
+10
View File
@@ -137,6 +137,11 @@ jobs:
with:
node-version: 20.19.0
# npm v11.5.1 or newer is required for OIDC support
# https://github.blog/changelog/2025-07-31-npm-trusted-publishing-with-oidc-is-generally-available/#whats-new
- name: Setup npm 11.x for OIDC
run: npm install -g npm@11.6.4
- name: Install and update lockfile
run: pnpm install --no-frozen-lockfile
@@ -185,6 +190,11 @@ jobs:
node-version: 20.19.0
cache: "pnpm"
# npm v11.5.1 or newer is required for OIDC support
# https://github.blog/changelog/2025-07-31-npm-trusted-publishing-with-oidc-is-generally-available/#whats-new
- name: Setup npm 11.x for OIDC
run: npm install -g npm@11.6.4
- name: Download deps
run: pnpm install --frozen-lockfile