Zoltan Kochan bdf0af2a9d
Some checks are pending
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Waiting to run
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Waiting to run
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Waiting to run
Test Action / Test with dest (macos-latest, 9.15.5) (push) Waiting to run
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Waiting to run
Test Action / Test with dest (windows-latest, 9.15.5) (push) Waiting to run
Test Action / Test with standalone (ubuntu-latest) (push) Waiting to run
Test Action / Test with standalone (windows-latest) (push) Waiting to run
Test Action / Test version input is actually installed (10.33.0, macos-latest) (push) Waiting to run
Test Action / Test version input is actually installed (9.15.5, macos-latest) (push) Waiting to run
Test Action / Test version input is actually installed (10.33.0, ubuntu-latest) (push) Waiting to run
Test Action / Test packageManager field is respected (10.33.0, ubuntu-latest) (push) Waiting to run
Test Action / Test with run_install (null, macos-latest) (push) Waiting to run
Test Action / Test with run_install (global, ubuntu-latest) (push) Waiting to run
Test Action / Test with run_install (null, ubuntu-latest) (push) Waiting to run
Test Action / Test with run_install (global, windows-latest) (push) Waiting to run
Test Action / Test with run_install (null, windows-latest) (push) Waiting to run
Test Action / Test version input is actually installed (9.15.5, ubuntu-latest) (push) Waiting to run
Test Action / Test version input is actually installed (10.33.0, windows-latest) (push) Waiting to run
Test Action / Test version input is actually installed (9.15.5, windows-latest) (push) Waiting to run
Test Action / Test packageManager field is respected (10.33.0, macos-latest) (push) Waiting to run
Test Action / Test packageManager field is respected (9.15.5, macos-latest) (push) Waiting to run
Test Action / Test packageManager field is respected (9.15.5, ubuntu-latest) (push) Waiting to run
Test Action / Test packageManager field is respected (10.33.0, windows-latest) (push) Waiting to run
Test Action / Test packageManager field is respected (9.15.5, windows-latest) (push) Waiting to run
Test Action / Test with devEngines.packageManager (macos-latest, 9.15.5) (push) Waiting to run
Test Action / Test with devEngines.packageManager (macos-latest, >=9.15.0) (push) Waiting to run
Test Action / Test with devEngines.packageManager (ubuntu-latest, 9.15.5) (push) Waiting to run
Test Action / Test with devEngines.packageManager (ubuntu-latest, >=9.15.0) (push) Waiting to run
Test Action / Test with devEngines.packageManager (windows-latest, 9.15.5) (push) Waiting to run
Test Action / Test with devEngines.packageManager (windows-latest, >=9.15.0) (push) Waiting to run
Test Action / Test with run_install (global, macos-latest) (push) Waiting to run
test: add strict version-match jobs to reproduce #225 / #227
The existing version tests only check output format via regex, which is
why the PATH-shadowing bug (#230) slipped through — the bootstrap pnpm's
version string matched the regex just as well as the requested version.

- test_version_respects_request: runs the action with `version: 9.15.5`
  and `version: 10.33.0` (both differ from the bootstrap) and asserts
  that `pnpm --version` matches exactly. Regression test for #225/#230.

- test_package_manager_field: writes a `packageManager: pnpm@<v>` entry
  into package.json, runs the action with no `version:` input, and
  asserts exact match. Reproduces #227; currently expected to fail
  since `packageManager` extraction was intentionally not added.
2026-04-18 15:20:30 +02:00
..