Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Use Node 24 for npm publish (#16755)

Ahmed Ibrahim13d828d236c0
diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml
index 37dd9f34f9..30e16c417d 100644
--- a/.github/workflows/rust-release.yml
+++ b/.github/workflows/rust-release.yml
@@ -584,14 +584,11 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
with:
- node-version: 22
+ # Node 24 bundles npm >= 11.5.1, which trusted publishing requires.
+ node-version: 24
registry-url: "https://registry.npmjs.org"
scope: "@openai"
- # Trusted publishing requires npm CLI version 11.5.1 or later.
- - name: Update npm
- run: npm install -g npm@latest
-
- name: Download npm tarballs from release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}