Skip to content

Commit 2171e3e

Browse files
asklarCopilot
andcommitted
Use Node 24 for native npm 11.x support
Node 22's npm 10.x can't self-upgrade to 11.x cleanly. Node 24 ships with npm 11.x, matching the trusted publishing requirement. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a4833d3 commit 2171e3e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ jobs:
1717

1818
- uses: actions/setup-node@v6
1919
with:
20-
node-version: '22'
20+
node-version: '24'
2121
registry-url: 'https://registry.npmjs.org'
2222

23-
- run: npm install -g npm@latest
24-
2523
- run: npm ci
2624

2725
- run: npm run build

0 commit comments

Comments
 (0)