Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pnpm/action-setup
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 739bfe4
Choose a base ref
...
head repository: pnpm/action-setup
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0e279bb
Choose a head ref
  • 3 commits
  • 9 files changed
  • 3 contributors

Commits on May 11, 2026

  1. docs(README): fix cache_dependency_path type (#257)

    * docs(README): fix `cache_dependency_path` type
    
    * docs(README): add multiple lockfile example
    
    * docs: update input description to match README
    haines authored May 11, 2026
    Configuration menu
    Copy the full SHA
    551b42e View commit details
    Browse the repository at this point in the history
  2. fix: drop patchPnpmEnv so standalone+self-update works on Windows (#258)

    `patchPnpmEnv` prepended `dest/node_modules/.bin` to PATH before
    spawning `pnpm install` / `pnpm store prune`. On Windows in standalone
    mode, `.bin/pnpm.cmd` is an npm-created shim that always points at the
    BOOTSTRAP pnpm (currently 11.0.4) — the binary npm linked when it
    installed `@pnpm/exe` into `node_modules`. The self-updated pnpm
    written by `pnpm self-update` lives at `$PNPM_HOME/bin`, which is
    separately added to PATH via `addPath()` in install-pnpm.
    
    When the user requested a pnpm version different from the bootstrap
    under `standalone: true` on Windows, patchPnpmEnv's `.bin` entry
    shadowed the self-updated `$PNPM_HOME/bin` and the action's internal
    `pnpm install` ran on the bootstrap. On a pnpm 11.0.x bootstrap this
    broke any 11.1+ install flag (e.g. `--no-runtime`), reporting:
    
        ERROR  Unknown option: 'runtime'
    
    POSIX standalone got lucky because `.bin` and `$PNPM_HOME` resolve to
    the same directory there. Non-standalone never tripped on this since
    the `.bin/pnpm` symlink for a regular `pnpm` package keeps working
    across self-updates.
    
    Removed `patchPnpmEnv` and the now-empty `src/utils/` module.
    `spawnSync` now inherits `process.env`, whose PATH is already
    correctly fronted by `$PNPM_HOME/bin` and `$PNPM_HOME` via the
    `addPath` calls in install-pnpm.
    
    Added `standalone_windows_self_update` to test.yaml as a regression
    guard: standalone on Windows + target 11.1.0 + `run_install` with
    `--no-runtime`. With the previous code, the install would have run
    under the bootstrap (11.0.4) and errored on the unknown flag.
    
    Originally found while building pnpm/setup (the new combined
    pnpm + runtime action).
    zkochan authored May 11, 2026
    Configuration menu
    Copy the full SHA
    3e83581 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2026

  1. fix: update pnpm to 11.1.1 (#248)

    * fix: update pnpm to v11.1.1
    
    * fix: update bundle
    
    ---------
    
    Co-authored-by: Zoltan Kochan <[email protected]>
    mungodewar and zkochan authored May 12, 2026
    Configuration menu
    Copy the full SHA
    0e279bb View commit details
    Browse the repository at this point in the history
Loading