Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix: unify `npm publish` call across shell-tool-mcp.yml and rust-release.yml (#10182)

Michael Bolin48f203120d87
diff --git a/.github/workflows/shell-tool-mcp.yml b/.github/workflows/shell-tool-mcp.yml
index d6c85d9ddc..6285754fb0 100644
--- a/.github/workflows/shell-tool-mcp.yml
+++ b/.github/workflows/shell-tool-mcp.yml
@@ -436,14 +436,6 @@ jobs:
id-token: write
contents: read
steps:
- - name: Checkout repository
- uses: actions/checkout@v6
-
- - name: Setup pnpm
- uses: pnpm/action-setup@v4
- with:
- run_install: false
-
- name: Setup Node.js
uses: actions/setup-node@v6
with:
@@ -451,6 +443,10 @@ jobs:
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 tarball
uses: actions/download-artifact@v7
with: