Skip to content

Commit afb3890

Browse files
authored
Ensure CD job uses latest NPM (#523)
Default Github runner environment has a slightly older NPM version which does not support trusted publishing, which we want to move to.
1 parent 5fe62b0 commit afb3890

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
node-version-file: ".nvmrc"
2424
registry-url: "https://registry.npmjs.org"
2525
cache: "npm"
26-
26+
# Ensure npm 11.5.1 or later for trusted publishing
27+
- run: npm install -g npm@latest
2728
- run: npm ci
2829
- run: npm publish

0 commit comments

Comments
 (0)