Skip to content

Use pnpm.cmd on Windows in typescript-test#5539

Open
rekhoff wants to merge 1 commit into
masterfrom
rekhoff/ci-typescript-test-windows
Open

Use pnpm.cmd on Windows in typescript-test#5539
rekhoff wants to merge 1 commit into
masterfrom
rekhoff/ci-typescript-test-windows

Conversation

@rekhoff

@rekhoff rekhoff commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

Closes: #4969

Fixes cargo ci typescript-test to work on Windows by using the correct pnpm executable name.

On Windows, pnpm is installed as pnpm.cmd (a batch file shim) rather than a bare pnpm executable. The cmd! macro from the duct crate invokes executables directly without shell resolution, so calling "pnpm" on Windows fails with "program not found". This adds a pnpm helper that returns "pnpm.cmd" on Windows and "pnpm" elsewhere, and updates all cmd!("pnpm", ...) call sites to use it.

API and ABI breaking changes

No API or ABI changes. This is a CI change only.

Expected complexity level and risk

1 - Trivial

Testing

  • Tested running cargo ci typescript-test before and after changes, to confirm this resolves local Windows issues.

@rekhoff rekhoff marked this pull request as ready for review July 14, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cargo ci typescript-test doesn't work on Windows

1 participant