Files
Zoltan Kochan ea17c68df8
Test Action / Smoke (windows / v12.3.4) (push) Waiting to run
Test Action / Smoke (windows / v9.15.5) (push) Waiting to run
Test Action / Standalone Windows self-update (PATH regression) (push) Waiting to run
Test Action / Smoke (macos / v12.3.4) (push) Waiting to run
Test Action / Smoke (macos / v9.15.5) (push) Waiting to run
Test Action / Smoke (ubuntu / v10.33.0) (push) Successful in 13s
Test Action / Smoke (ubuntu / v9.15.5) (push) Successful in 8s
Test Action / Smoke (ubuntu / v12.3.4) (push) Successful in 11s
Test Action / Smoke (ubuntu / v11.25.0) (push) Successful in 12s
Test Action / Smoke (ubuntu / v9.15.5 / custom-dest) (push) Successful in 13s
Test Action / Manifest pin: devEngines onFail=download, exact (push) Successful in 7s
Test Action / Manifest pin: packageManager [email protected] (push) Successful in 9s
Test Action / Manifest pin: devEngines onFail=error, exact (#252) (push) Successful in 11s
Test Action / Manifest pin: devEngines onFail=download, range (push) Successful in 11s
Test Action / Manifest pin: devEngines onFail=error, range (#252) (push) Successful in 11s
Test Action / Manifest pin: explicit version: pnpm_config_pm_on_fail not exported (push) Successful in 12s
Test Action / Manifest pin: packageManager [email protected] (#227) (push) Successful in 14s
Test Action / Cache store path matches install (#233): devEngines range >=10 <11 (push) Successful in 10s
Test Action / Cache store path matches install (#233): packageManager [email protected] (push) Successful in 9s
Test Action / Cache store path matches install (#233): devEngines exact [email protected] (push) Successful in 10s
Test Action / run_install (null) (push) Successful in 8s
Test Action / run_install (global) (push) Successful in 9s
Test Action / Native pnpm bootstrap (npm 12) (push) Successful in 27s
feat: support pnpm v12 (#288)
* feat: support pnpm v12

Approve the pinned @pnpm/exe install script for npm 12, add pnpm 12 coverage across supported runner platforms, and clarify that action-setup remains supported alongside pnpm/setup.

* refactor: use pnpm 12 native bootstrap

Install the plain pnpm v12 package as the single native bootstrap, remove the legacy @pnpm/exe lockfile and runtime path, and retain the standalone input as a no-op for workflow compatibility.

* fix: keep bootstrap updates on pnpm 12

Handle npm's array-shaped view output and resolve only pnpm 12 distribution tags.

* fix: use native bootstrap only for pnpm 12

Route pnpm 12-only versions and ranges through the plain pnpm native package while preserving the existing Node and @pnpm/exe bootstrap paths for older releases.

* style: remove updater narrative comments
2026-09-05 01:42:41 +02:00

43 lines
1.3 KiB
YAML

name: Setup pnpm
description: Install pnpm package manager
branding:
icon: package
color: orange
inputs:
version:
description: Version of pnpm to install
required: false
dest:
description: Where to store pnpm files
required: false
default: ~/setup-pnpm
run_install:
description: If specified, run `pnpm install`
required: false
default: 'null'
cache:
description: Whether to cache the pnpm store directory
required: false
default: 'false'
cache_dependency_path:
description: File path to the pnpm lockfile, whose contents hash will be used as a cache key. Accepts multiple paths delimited by newlines.
required: false
default: 'pnpm-lock.yaml'
package_json_file:
description: File path to the package.json to read "packageManager" configuration. This path must be relative to the repository root (GITHUB_WORKSPACE).
required: false
default: 'package.json'
standalone:
description: When set to true for pnpm v11 and earlier, install @pnpm/exe to use pnpm without Node.js. pnpm v12 uses the plain pnpm package's native executable.
required: false
default: 'false'
outputs:
dest:
description: Expanded path of inputs#dest
bin_dest:
description: Location of `pnpm` and `pnpx` command
runs:
using: node24
main: dist/index.js
post: dist/index.js