Skip to content

Commit 70c80bb

Browse files
author
Nick Ficano
committed
ci: use npm 11 for trusted publishing
1 parent 619f7d5 commit 70c80bb

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,13 @@ jobs:
6767
# present. The npm publish step passes --registry explicitly instead.
6868
uses: actions/setup-node@v6
6969
with:
70-
node-version: "22"
70+
node-version: "24"
7171
cache: "pnpm"
7272

73+
- name: Use npm 11 for trusted publishing
74+
# npm trusted publishing requires npm CLI 11.5.1 or newer.
75+
run: npm install --global npm@11
76+
7377
- name: Install dependencies
7478
run: pnpm install --frozen-lockfile
7579

@@ -130,7 +134,7 @@ jobs:
130134
- name: Setup Node.js (GitHub Packages registry)
131135
uses: actions/setup-node@v6
132136
with:
133-
node-version: "22"
137+
node-version: "24"
134138
registry-url: "https://npm.pkg.github.com"
135139
scope: "@agentruntimecontrolprotocol"
136140

0 commit comments

Comments
 (0)