Skip to content

Commit b239449

Browse files
committed
Updated npm version in publish action for trusted publishing support.
1 parent b7cf34f commit b239449

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
with:
2424
node-version: 22
2525
registry-url: 'https://registry.npmjs.org'
26+
# Trusted publishing requires npm 11.5.1 or later.
27+
- name: Upgrade npm
28+
run: npm install -g npm@11.5
2629

2730
- name: Restore C# dependencies
2831
run: dotnet restore

0 commit comments

Comments
 (0)