update the ci pnpm workflow for shell-tool-mcp to use corepack for pnpm versioning (#10115)

This updates the CI workflows for shell-tool-mcp to use the pnpm version
from package.json and print it in the build for verification.

I have read the CLA Document and I hereby sign the CLA
This commit is contained in:
mjr-openai
2026-01-28 18:30:48 -05:00
committed by GitHub
parent 7b34cad1b1
commit 83d7c44500
4 changed files with 28 additions and 3 deletions

View File

@@ -35,6 +35,15 @@ jobs:
node-version: ${{ env.NODE_VERSION }}
cache: "pnpm"
- name: Enable Corepack
run: corepack enable
- name: Activate pnpm from package.json
run: corepack prepare --activate
- name: Verify pnpm version
run: pnpm --version
- name: Install dependencies
run: pnpm install --frozen-lockfile

View File

@@ -351,6 +351,15 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Enable Corepack
run: corepack enable
- name: Activate pnpm from package.json
run: corepack prepare --activate
- name: Verify pnpm version
run: pnpm --version
- name: Install JavaScript dependencies
run: pnpm install --frozen-lockfile
@@ -448,8 +457,14 @@ jobs:
registry-url: https://registry.npmjs.org
scope: "@openai"
- name: Update npm
run: npm install -g npm@latest
- name: Enable Corepack
run: corepack enable
- name: Activate pnpm from package.json
run: corepack prepare --activate
- name: Verify pnpm version
run: pnpm --version
- name: Download npm tarball
uses: actions/download-artifact@v7