Skip to content

Commit fd4a3f8

Browse files
committed
Use Node 24 for publish workflow
Node 24 ships with npm 11, which natively supports trusted publishing, so the fragile "npm install -g npm@latest" self-upgrade step is no longer needed — that step was failing mid-upgrade with a MODULE_NOT_FOUND on promise-retry.
1 parent 7bec6f9 commit fd4a3f8

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/publish-cli.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,9 @@ jobs:
1919

2020
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
2121
with:
22-
node-version: "22"
22+
node-version: "24"
2323
registry-url: "https://registry.npmjs.org"
2424

25-
- name: Upgrade npm for trusted publishing
26-
run: npm install -g npm@latest
27-
2825
- name: Install dependencies
2926
run: bun install --frozen-lockfile
3027

0 commit comments

Comments
 (0)