Skip to content

Commit 95c4ece

Browse files
committed
update npm cli version required for oidc
1 parent 3abe6fb commit 95c4ece

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/packages-and-modules/securing-your-code/trusted-publishers.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Trusted publishing allows you to publish npm packages directly from your CI/CD w
66

77
<Note>
88

9-
**Note:** Trusted publishing requires [npm CLI](https://docs.npmjs.com/cli/v11) version 11.5.0 or later.
9+
**Note:** Trusted publishing requires [npm CLI](https://docs.npmjs.com/cli/v11) version 11.5.1 or later.
1010

1111
</Note>
1212

@@ -94,7 +94,7 @@ jobs:
9494
node-version: '20'
9595
registry-url: 'https://registry.npmjs.org'
9696

97-
# Ensure npm 11.5.0 or later is installed
97+
# Ensure npm 11.5.1 or later is installed
9898
- name: Update npm
9999
run: npm install -g npm@latest
100100
- run: npm ci
@@ -133,7 +133,7 @@ publish:
133133
stage: publish
134134
image: node:${NODE_VERSION}
135135
script:
136-
# Ensure npm 11.5.0 or later is installed
136+
# Ensure npm 11.5.1 or later is installed
137137
- npm install -g npm@latest
138138
- npm ci
139139
- npm run build --if-present
@@ -216,7 +216,7 @@ While trusted publishing handles the publish operation, you may still need authe
216216
node-version: '20'
217217
registry-url: 'https://registry.npmjs.org'
218218
219-
# Ensure npm 11.5.0 or later for trusted publishing
219+
# Ensure npm 11.5.1 or later for trusted publishing
220220
- run: npm install -g npm@latest
221221
222222
# Use a read-only token for installing dependencies

0 commit comments

Comments
 (0)