mirror of
https://github.com/pnpm/action-setup.git
synced 2026-06-11 19:12:12 +08:00
master
240 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
0e279bb959 |
fix: update pnpm to 11.1.1 (#248)
Some checks failed
Test Action / Smoke (ubuntu / v10.33.0) (push) Failing after 11s
Test Action / Smoke (ubuntu / v9.15.5 / custom-dest) (push) Failing after 10s
Test Action / Smoke (ubuntu / v9.15.5) (push) Failing after 11s
Test Action / Manifest pin: devEngines onFail=download, range (push) Failing after 10s
Test Action / Manifest pin: devEngines onFail=download, exact (push) Failing after 10s
Test Action / Manifest pin: devEngines onFail=error, exact (#252) (push) Failing after 10s
Test Action / Manifest pin: devEngines onFail=error, range (#252) (push) Failing after 11s
Test Action / Manifest pin: packageManager pnpm@10.33.0 (push) Failing after 11s
Test Action / Manifest pin: packageManager pnpm@9.15.5 (#227) (push) Failing after 10s
Test Action / Cache store path matches install (#233): devEngines exact pnpm@10.33.0 (push) Failing after 12s
Test Action / Manifest pin: explicit version: pnpm_config_pm_on_fail not exported (push) Failing after 14s
Test Action / Standalone mode (push) Failing after 12s
Test Action / Cache store path matches install (#233): packageManager pnpm@10.33.0 (push) Failing after 10s
Test Action / Cache store path matches install (#233): devEngines range >=10 <11 (push) Failing after 10s
Test Action / run_install (global) (push) Failing after 9s
Test Action / run_install (null) (push) Failing after 9s
Test Action / Smoke (macos / v9.15.5) (push) Has been cancelled
Test Action / Smoke (windows / v9.15.5) (push) Has been cancelled
Test Action / Standalone Windows self-update (PATH regression) (push) Has been cancelled
* fix: update pnpm to v11.1.1 * fix: update bundle --------- Co-authored-by: Zoltan Kochan <z@kochan.io>v6 v6.0.8 |
||
|
|
3e835812ef |
fix: drop patchPnpmEnv so standalone+self-update works on Windows (#258)
Some checks failed
Test Action / Smoke (ubuntu / v10.33.0) (push) Failing after 10s
Test Action / Smoke (ubuntu / v9.15.5) (push) Failing after 9s
Test Action / Smoke (ubuntu / v9.15.5 / custom-dest) (push) Failing after 12s
Test Action / Manifest pin: devEngines onFail=download, exact (push) Failing after 11s
Test Action / Manifest pin: devEngines onFail=download, range (push) Failing after 11s
Test Action / Manifest pin: devEngines onFail=error, exact (#252) (push) Failing after 10s
Test Action / Manifest pin: devEngines onFail=error, range (#252) (push) Failing after 11s
Test Action / Manifest pin: packageManager pnpm@10.33.0 (push) Failing after 10s
Test Action / Manifest pin: packageManager pnpm@9.15.5 (#227) (push) Failing after 10s
Test Action / Standalone mode (push) Failing after 9s
Test Action / Manifest pin: explicit version: pnpm_config_pm_on_fail not exported (push) Failing after 10s
Test Action / Cache store path matches install (#233): devEngines exact pnpm@10.33.0 (push) Failing after 10s
Test Action / Cache store path matches install (#233): devEngines range >=10 <11 (push) Failing after 10s
Test Action / run_install (global) (push) Failing after 9s
Test Action / Cache store path matches install (#233): packageManager pnpm@10.33.0 (push) Failing after 11s
Test Action / run_install (null) (push) Failing after 8s
Test Action / Smoke (macos / v9.15.5) (push) Has been cancelled
Test Action / Smoke (windows / v9.15.5) (push) Has been cancelled
Test Action / Standalone Windows self-update (PATH regression) (push) Has been cancelled
`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).
|
||
|
|
551b42e879 |
docs(README): fix cache_dependency_path type (#257)
Some checks failed
Test Action / Smoke (ubuntu / v10.33.0) (push) Failing after 11s
Test Action / Smoke (ubuntu / v9.15.5) (push) Failing after 10s
Test Action / Smoke (ubuntu / v9.15.5 / custom-dest) (push) Failing after 9s
Test Action / Manifest pin: devEngines onFail=download, exact (push) Failing after 9s
Test Action / Manifest pin: devEngines onFail=download, range (push) Failing after 10s
Test Action / Manifest pin: devEngines onFail=error, exact (#252) (push) Failing after 10s
Test Action / Manifest pin: packageManager pnpm@10.33.0 (push) Failing after 10s
Test Action / Manifest pin: devEngines onFail=error, range (#252) (push) Failing after 10s
Test Action / Manifest pin: packageManager pnpm@9.15.5 (#227) (push) Failing after 9s
Test Action / Manifest pin: explicit version: pnpm_config_pm_on_fail not exported (push) Failing after 10s
Test Action / Standalone mode (push) Failing after 9s
Test Action / Cache store path matches install (#233): devEngines exact pnpm@10.33.0 (push) Failing after 9s
Test Action / Cache store path matches install (#233): devEngines range >=10 <11 (push) Failing after 10s
Test Action / Cache store path matches install (#233): packageManager pnpm@10.33.0 (push) Failing after 9s
Test Action / run_install (global) (push) Failing after 8s
Test Action / run_install (null) (push) Failing after 8s
Test Action / Smoke (macos / v9.15.5) (push) Has been cancelled
Test Action / Smoke (windows / v9.15.5) (push) Has been cancelled
* docs(README): fix `cache_dependency_path` type * docs(README): add multiple lockfile example * docs: update input description to match README |
||
|
|
739bfe42ca |
fix: self-update bootstrap to packageManager-pinned version (#233) (#256)
* fix: self-update bootstrap to packageManager-pinned version (#233) When package.json pins pnpm via `packageManager` or an exact `devEngines.packageManager.version`, self-update the bootstrap up front. The bootstrap's `pnpm store path` skips pnpm's auto-switch (the `store` command sets `skipPackageManagerCheck = true`), so it reports the bootstrap's `STORE_VERSION` while the user's actual install runs under the pinned version and writes to a different STORE_VERSION — breaking `cache: true` and `setup-node`'s `cache: pnpm` on cold caches. * fix: check bin/ dir instead of pnpm.exe for self-update detection On Windows pnpm self-update writes `.bin/bin/pnpm` (a JS launcher), not `.bin/bin/pnpm.exe`, so the previous existsSync probe always fell back to pnpmHome and the bin_dest output pointed at the bootstrap pnpm. Check whether the `bin` directory itself exists. * fix: self-update accepts ranges; drop exact-semver gate `pnpm self-update` resolves semver ranges to a specific version, so `devEngines.packageManager.version: ">=10 <11"` can also go through the self-update path. That makes readTargetVersion total — it always returns a string or throws — so the runtime auto-switch fallback (and the `pnpm_config_pm_on_fail=download` export from #252) is no longer reachable and gets removed. Adds a range case to the cache_store_path matrix.v6.0.7 |
||
|
|
f61705d907 |
chore: add CODEOWNERS
Some checks failed
Test Action / Smoke (ubuntu / v9.15.5 / custom-dest) (push) Failing after 9s
Test Action / Smoke (ubuntu / v10.33.0) (push) Failing after 12s
Test Action / Smoke (ubuntu / v9.15.5) (push) Failing after 13s
Test Action / Manifest pin: devEngines onFail=download, exact (push) Failing after 12s
Test Action / Manifest pin: devEngines onFail=download, range (push) Failing after 13s
Test Action / Manifest pin: devEngines onFail=error, exact (#252) (push) Failing after 10s
Test Action / Manifest pin: packageManager pnpm@10.33.0 (push) Failing after 11s
Test Action / Manifest pin: devEngines onFail=error, range (#252) (push) Failing after 11s
Test Action / Manifest pin: packageManager pnpm@9.15.5 (#227) (push) Failing after 11s
Test Action / Manifest pin: explicit version: pnpm_config_pm_on_fail not exported (push) Failing after 13s
Test Action / Standalone mode (push) Failing after 13s
Test Action / run_install (global) (push) Failing after 12s
Test Action / run_install (null) (push) Failing after 9s
Test Action / Smoke (macos / v9.15.5) (push) Has been cancelled
Test Action / Smoke (windows / v9.15.5) (push) Has been cancelled
|
||
|
|
7a5507b117 | fix: restore inputs from state in post (#255) | ||
|
|
1155470f3e |
fix: honor devEngines.packageManager.onFail=error (#252) (#254)
Some checks failed
Test Action / Smoke (ubuntu / v10.33.0) (push) Failing after 10s
Test Action / Smoke (ubuntu / v9.15.5) (push) Failing after 8s
Test Action / Smoke (ubuntu / v9.15.5 / custom-dest) (push) Failing after 8s
Test Action / Manifest pin: devEngines onFail=download, exact (push) Failing after 9s
Test Action / Manifest pin: devEngines onFail=download, range (push) Failing after 10s
Test Action / Manifest pin: devEngines onFail=error, exact (#252) (push) Failing after 10s
Test Action / Manifest pin: devEngines onFail=error, range (#252) (push) Failing after 9s
Test Action / Manifest pin: packageManager pnpm@10.33.0 (push) Failing after 11s
Test Action / Manifest pin: packageManager pnpm@9.15.5 (#227) (push) Failing after 10s
Test Action / Manifest pin: explicit version: pnpm_config_pm_on_fail not exported (push) Failing after 10s
Test Action / Standalone mode (push) Failing after 9s
Test Action / run_install (global) (push) Failing after 9s
Test Action / run_install (null) (push) Failing after 8s
Test Action / Smoke (macos / v9.15.5) (push) Has been cancelled
Test Action / Smoke (windows / v9.15.5) (push) Has been cancelled
## Summary - Export `pnpm_config_pm_on_fail=download` from the action so the bootstrap pnpm switches versions via `manage-package-manager-versions` instead of throwing `BAD_PM_VERSION` when a project pins `devEngines.packageManager.onFail = "error"` without supplying a `version:` input. - Adds a `test_dev_engines_on_fail_error` workflow job (Linux/macOS/Windows, exact + range) that reproduces #252. Fixes #252. |
||
|
|
91ab88e261 |
fix: bin_dest output points to self-updated pnpm, not bootstrap (#249)
Some checks failed
Test Action / Test packageManager field is respected (9.15.5, ubuntu-latest) (push) Failing after 10s
Test Action / Test with devEngines.packageManager (ubuntu-latest, 9.15.5) (push) Failing after 10s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 9s
Test Action / Test with devEngines.packageManager (ubuntu-latest, >=9.15.0) (push) Failing after 9s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 8s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (10.33.0, macos-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (9.15.5, macos-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (10.33.0, windows-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (9.15.5, windows-latest) (push) Has been cancelled
Test Action / Test bin_dest output points to requested version (10.33.2, macos-latest) (push) Has been cancelled
Test Action / Test bin_dest output points to requested version (9.15.5, macos-latest) (push) Has been cancelled
Test Action / Test bin_dest output points to requested version (10.33.2, windows-latest) (push) Has been cancelled
Test Action / Test bin_dest output points to requested version (9.15.5, windows-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (10.33.0, macos-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (9.15.5, macos-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (10.33.0, windows-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (9.15.5, windows-latest) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
* fix: bin_dest output points to self-updated pnpm, not bootstrap (#247) `pnpm self-update <version>` writes the target binary to `${PNPM_HOME}/bin/`, leaving the bootstrap symlink at `${PNPM_HOME}/pnpm` untouched. The `bin_dest` output was set to `${PNPM_HOME}`, so consumers invoking `${{ steps.pnpm.outputs.bin_dest }}/pnpm` got the bootstrap version (currently 11.0.4) instead of the version they requested. PATH lookup hid the bug: `${PNPM_HOME}/bin` was prepended ahead of `${PNPM_HOME}`, so `pnpm` resolved from PATH was the right one. Existing version-respect tests only checked `pnpm --version`, not `bin_dest`. Resolve `binDest` inside `runSelfInstaller` (target lives in `${PNPM_HOME}/bin` after self-update, otherwise stays at `${PNPM_HOME}`) and plumb it through to `setOutputs`. Add a regression test that invokes `${bin_dest}/pnpm --version` directly across Linux/macOS/Windows. * test(ci): pass bin_dest via env to survive Windows backslashes Direct GitHub-expression interpolation of `${{ steps.pnpm.outputs.bin_dest }}` into the bash script let bash eat the backslashes in the Windows path (`C:Usersrunneradminsetup-pnpmnode_modules.binbin/pnpm`), failing with "No such file or directory". Forward the value via env so the path reaches bash unmangled. * build: rebuild dist with clean lockfile-matched depsv6.0.6 |
||
|
|
e578e19d19 |
fix: update pnpm to 11.0.4
Some checks failed
Test Action / Test with standalone (ubuntu-latest) (push) Failing after 9s
Test Action / Test version input is actually installed (10.33.0, ubuntu-latest) (push) Failing after 9s
Test Action / Test version input is actually installed (9.15.5, ubuntu-latest) (push) Failing after 9s
Test Action / Test packageManager field is respected (10.33.0, ubuntu-latest) (push) Failing after 10s
Test Action / Test packageManager field is respected (9.15.5, ubuntu-latest) (push) Failing after 10s
Test Action / Test with devEngines.packageManager (ubuntu-latest, 9.15.5) (push) Failing after 10s
Test Action / Test with devEngines.packageManager (ubuntu-latest, >=9.15.0) (push) Failing after 9s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 9s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 9s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (10.33.0, macos-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (9.15.5, macos-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (10.33.0, windows-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (9.15.5, windows-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (10.33.0, macos-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (9.15.5, macos-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (10.33.0, windows-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (9.15.5, windows-latest) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
|
||
|
|
8912a9102a |
fix: append (not prepend) action node dir to PATH for npm bootstrap (#241)
Some checks failed
Test Action / Test with standalone (ubuntu-latest) (push) Failing after 12s
Test Action / Test version input is actually installed (10.33.0, ubuntu-latest) (push) Failing after 9s
Test Action / Test version input is actually installed (9.15.5, ubuntu-latest) (push) Failing after 10s
Test Action / Test packageManager field is respected (10.33.0, ubuntu-latest) (push) Failing after 12s
Test Action / Test packageManager field is respected (9.15.5, ubuntu-latest) (push) Failing after 10s
Test Action / Test with devEngines.packageManager (ubuntu-latest, 9.15.5) (push) Failing after 10s
Test Action / Test with devEngines.packageManager (ubuntu-latest, >=9.15.0) (push) Failing after 11s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 9s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 11s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (10.33.0, macos-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (9.15.5, macos-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (10.33.0, windows-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (9.15.5, windows-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (10.33.0, macos-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (9.15.5, macos-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (10.33.0, windows-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (9.15.5, windows-latest) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
|
||
|
|
26f6d4f2c5 |
fix: use npm co-located with the action node binary (#239)
Some checks failed
Test Action / Test with standalone (ubuntu-latest) (push) Failing after 12s
Test Action / Test version input is actually installed (9.15.5, ubuntu-latest) (push) Failing after 11s
Test Action / Test version input is actually installed (10.33.0, ubuntu-latest) (push) Failing after 12s
Test Action / Test packageManager field is respected (10.33.0, ubuntu-latest) (push) Failing after 13s
Test Action / Test with devEngines.packageManager (ubuntu-latest, 9.15.5) (push) Failing after 12s
Test Action / Test packageManager field is respected (9.15.5, ubuntu-latest) (push) Failing after 13s
Test Action / Test with devEngines.packageManager (ubuntu-latest, >=9.15.0) (push) Failing after 12s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 13s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 14s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (10.33.0, macos-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (9.15.5, macos-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (10.33.0, windows-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (9.15.5, windows-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (10.33.0, macos-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (9.15.5, macos-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (10.33.0, windows-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (9.15.5, windows-latest) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
* fix: use npm co-located with the action node binary
* fix: resolve npm by absolute path; guard against unset PATH
Follow-up to
v6.0.4
|
||
|
|
903f9c1a6e |
fix: update pnpm to 11.0.0-rc.5
Some checks failed
Test Action / Test with standalone (ubuntu-latest) (push) Failing after 9s
Test Action / Test version input is actually installed (10.33.0, ubuntu-latest) (push) Failing after 8s
Test Action / Test version input is actually installed (9.15.5, ubuntu-latest) (push) Failing after 9s
Test Action / Test packageManager field is respected (10.33.0, ubuntu-latest) (push) Failing after 9s
Test Action / Test packageManager field is respected (9.15.5, ubuntu-latest) (push) Failing after 10s
Test Action / Test with devEngines.packageManager (ubuntu-latest, 9.15.5) (push) Failing after 10s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 9s
Test Action / Test with devEngines.packageManager (ubuntu-latest, >=9.15.0) (push) Failing after 10s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 10s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (10.33.0, macos-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (9.15.5, macos-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (10.33.0, windows-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (9.15.5, windows-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (10.33.0, macos-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (9.15.5, macos-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (10.33.0, windows-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (9.15.5, windows-latest) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
|
||
|
|
bdf0af2a9d |
test: add strict version-match jobs to reproduce #225 / #227
Some checks failed
Test Action / Test with standalone (ubuntu-latest) (push) Failing after 12s
Test Action / Test version input is actually installed (10.33.0, ubuntu-latest) (push) Failing after 11s
Test Action / Test version input is actually installed (9.15.5, ubuntu-latest) (push) Failing after 10s
Test Action / Test packageManager field is respected (10.33.0, ubuntu-latest) (push) Failing after 10s
Test Action / Test packageManager field is respected (9.15.5, ubuntu-latest) (push) Failing after 10s
Test Action / Test with devEngines.packageManager (ubuntu-latest, >=9.15.0) (push) Failing after 10s
Test Action / Test with devEngines.packageManager (ubuntu-latest, 9.15.5) (push) Failing after 10s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 8s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 8s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (10.33.0, macos-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (9.15.5, macos-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (10.33.0, windows-latest) (push) Has been cancelled
Test Action / Test version input is actually installed (9.15.5, windows-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (10.33.0, macos-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (9.15.5, macos-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (10.33.0, windows-latest) (push) Has been cancelled
Test Action / Test packageManager field is respected (9.15.5, windows-latest) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
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. |
||
|
|
71c92474e7 |
fix: pnpm self-update binary shadowed by bootstrap on PATH (#230)
Problem pnpm self-update installs the target version to PNPM_HOME/bin/pnpm, but the bootstrap binary at PNPM_HOME/pnpm has higher PATH precedence because addPath(pnpmHome) was called after addPath(pnpmHome/bin). @actions/core's addPath prepends, so the later call wins — the bootstrap version shadows the self-updated binary. Fix Swap the addPath call order so PNPM_HOME/bin (where self-update puts the target binary) has higher PATH precedence. The bootstrap pnpm is invoked via absolute path, so this doesn't affect the bootstrap step.v6.0.2 |
||
|
|
078e9d4164 |
fix: update pnpm to 11.0.0-rc.2
Some checks failed
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 13s
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 12s
Test Action / Test with standalone (ubuntu-latest) (push) Failing after 10s
Test Action / Test with devEngines.packageManager (ubuntu-latest, 9.15.5) (push) Failing after 10s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 9s
Test Action / Test with devEngines.packageManager (ubuntu-latest, >=9.15.0) (push) Failing after 10s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 9s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
|
||
|
|
08c4be7e2e |
docs(README): update action-setup version
Some checks failed
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 12s
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 10s
Test Action / Test with standalone (ubuntu-latest) (push) Failing after 9s
Test Action / Test with devEngines.packageManager (ubuntu-latest, 9.15.5) (push) Failing after 9s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 9s
Test Action / Test with devEngines.packageManager (ubuntu-latest, >=9.15.0) (push) Failing after 9s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 9s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
|
||
|
|
579891461a | chore: update .gitignore | ||
|
|
ddffd66754 | fix: remove accidentally committed file | ||
|
|
b43f991918 | fix: update pnpm to 11.0.0-rc.0 | ||
|
|
3852509c9e | README.md: bring versions up-to-date (#222) | ||
|
|
6e7bdbda5f |
chore: bump bootstrap pnpm to 11.0.0-beta.4-1 and add update script
Some checks failed
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 9s
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 8s
Test Action / Test with standalone (ubuntu-latest) (push) Failing after 8s
Test Action / Test with devEngines.packageManager (ubuntu-latest, 9.15.5) (push) Failing after 9s
Test Action / Test with devEngines.packageManager (ubuntu-latest, >=9.15.0) (push) Failing after 10s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 8s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 8s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
Add `pnpm run update-bootstrap [version]` to regenerate the bootstrap lockfiles. Bumps from 11.0.0-beta.3 to 11.0.0-beta.4-1. |
||
|
|
6b87c4621a |
fix: Windows standalone mode — bypass broken npm shims (#217)
Some checks failed
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 10s
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 10s
Test Action / Test with standalone (ubuntu-latest) (push) Failing after 10s
Test Action / Test with devEngines.packageManager (ubuntu-latest, 9.15.5) (push) Failing after 9s
Test Action / Test with devEngines.packageManager (ubuntu-latest, >=9.15.0) (push) Failing after 10s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 9s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 9s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
* fix: overwrite npm .cmd wrappers for @pnpm/exe on Windows npm creates .cmd wrappers that invoke bin entries through `node`, but @pnpm/exe bins are native executables, not JavaScript files. This causes pnpm commands to silently fail on Windows. * fix: copy pnpm.exe to .bin/ on Windows for standalone mode The .cmd wrapper approach didn't work because CMD doesn't properly wait for extensionless PE binaries. Instead, copy the actual .exe (and .cmd for pnpx) from @pnpm/exe into .bin/ so PATHEXT finds pnpm.exe directly, bypassing npm's broken node-wrapping shim. * fix: add @pnpm/exe dir to PATH on Windows instead of .bin shims On Windows, npm's .bin shims can't properly execute the extensionless native binaries from @pnpm/exe. Instead of trying to fix the shims, add the @pnpm/exe directory directly to PATH where pnpm.exe lives. * test: validate pnpm --version output in CI All version checks now capture output and assert it matches a semver pattern. Previously, a silently failing pnpm (exit 0, no output) would pass the tests. * debug: log pnpm --version output during setup * fix: remove duplicate addPath in setOutputs that shadowed pnpm.exe setOutputs called addPath(node_modules/.bin) AFTER installPnpm had already added the correct path (@pnpm/exe on Windows). Since GITHUB_PATH entries are prepended, .bin ended up first in PATH, causing PowerShell to find npm's broken shims instead of pnpm.exe. * fix: add PNPM_HOME/bin to PATH on all platforms * fix: address review feedback — PATH ordering and regex anchoring - Swap addPath order so pnpmHome (with pnpm.exe) is prepended last and has highest precedence over pnpmHome/bin. - Anchor version regex with $ and allow prerelease suffixes. |
||
|
|
994d756a33 |
feat: read pnpm version from devEngines.packageManager (#211)
Some checks failed
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 9s
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 9s
Test Action / Test with standalone (ubuntu-latest) (push) Failing after 9s
Test Action / Test with devEngines.packageManager (ubuntu-latest, 9.15.5) (push) Failing after 10s
Test Action / Test with devEngines.packageManager (ubuntu-latest, >=9.15.0) (push) Failing after 10s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 9s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 9s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (macos-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with devEngines.packageManager (windows-latest, >=9.15.0) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
* feat: read pnpm version from devEngines.packageManager field When no version is specified in the action config or the packageManager field of package.json, fall back to devEngines.packageManager. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * feat: skip self-update for devEngines.packageManager and add CI tests pnpm auto-switches to the right version when devEngines.packageManager is set, so self-update is unnecessary. This also enables range support (e.g. ">=9.15.0") which self-update doesn't handle. --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|
|
738f428026 |
docs: upgrade pnpm/action-setup from v4 to v5
Some checks failed
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 9s
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 8s
Test Action / Test with standalone (ubuntu-latest) (push) Failing after 8s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 8s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 8s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
|
||
|
|
62bce64275 |
fix: extract pnpm version from packageManager field instead of returning undefined (#216)
Some checks failed
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 9s
Test Action / Test with standalone (ubuntu-latest) (push) Failing after 9s
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 9s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 9s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 9s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
When packageManager is set to e.g. "pnpm@9.1.0+sha...", strip the "pnpm@" prefix and any "+sha..." hash suffix so the action installs the correct version. Previously returning undefined caused failures on Windows. |
||
|
|
58e6119fe4 |
feat!: replace bundled pnpm binary with npm + lockfile bootstrap (#212)
Some checks failed
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 9s
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 9s
Test Action / Test with standalone (ubuntu-latest) (push) Failing after 9s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 9s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 9s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
* feat!: replace bundled pnpm binary with npm + lockfile bootstrap Remove the 9MB bundled pnpm.cjs/worker.js and instead use npm ci with committed package-lock.json files (~5KB) to install a bootstrap pnpm, which then installs the target version with integrity verification via the project's pnpm-lock.yaml. Also switch from ncc to esbuild and modernize to ESM. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: bundle as CJS to support @actions/* packages The @actions/* packages use CJS require() for Node.js builtins, which fails with "Dynamic require of 'os' is not supported" when bundled as ESM. Switch esbuild output to CJS format. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: remove "type": "module" from package.json Node.js treats dist/index.js as ESM due to "type": "module", but the bundle uses CJS require() calls. Remove the field so Node.js defaults to CJS for .js files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: remove packageManager field and fix Windows npm spawn - Remove packageManager from package.json to avoid version conflict when the action tests against itself (uses: ./) - Use shell: true on Windows so spawn can find npm.cmd Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: always use pnpm (not @pnpm/exe) for bootstrap and update lockfile The bootstrap only needs regular pnpm to install the target package. @pnpm/exe requires install scripts which we skip with --ignore-scripts. Also regenerate pnpm-lock.yaml to match current package.json. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: use --no-lockfile for target install --lockfile-dir pointing to GITHUB_WORKSPACE causes the bootstrap pnpm to use the project's pnpm-lock.yaml (which tracks project deps, not pnpm itself), corrupting the install. Revert to --no-lockfile for now. Lockfile-based integrity verification can be added when pnpm v11 has proper support for verifying the pnpm package itself. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: run bootstrap pnpm via node instead of bin shim Use `node .../pnpm/bin/pnpm.cjs` to run the bootstrap pnpm, matching the approach used by the old bundled pnpm.cjs. This avoids issues with the .bin symlink on different platforms. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * refactor: use pnpm self-update instead of installing target separately - Bootstrap pnpm via npm ci (verified by lockfile) - Use `pnpm self-update <version>` for explicit version - Let pnpm handle packageManager field automatically - Remove standalone/exe-specific install logic (pnpm handles this) - Update tests to not run pnpm install against the action repo itself Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * feat: support standalone mode with @pnpm/exe bootstrap - When standalone=true, bootstrap with @pnpm/exe via npm ci - When standalone=false, bootstrap with pnpm via npm ci - Both use pnpm self-update to reach the target version - Remove --ignore-scripts from npm ci so @pnpm/exe install scripts run - Add standalone test back to CI Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * debug: add logging to diagnose pnpm not found on PATH Log .bin directory contents after npm ci to understand why pnpm binary is not found in subsequent CI steps. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: ensure pnpm bin link exists after npm ci npm ci sometimes doesn't create the .bin/pnpm symlink for @pnpm/exe (observed on Linux CI). Manually create the symlink if it's missing after npm ci completes. This fixes the case where standalone=true with no explicit version (relying on packageManager field) — pnpm self-update wouldn't run, leaving .bin empty and pnpm not found on PATH. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: add PNPM_HOME/bin to PATH for pnpm v11 pnpm v11 moved global binaries from PNPM_HOME to PNPM_HOME/bin. Add the new bin subdirectory to PATH so that pnpm's global bin directory check passes. This is backwards compatible — the extra PATH entry is harmless for older pnpm versions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: add packages field to pnpm-workspace.yaml pnpm v9 requires the packages field in pnpm-workspace.yaml. Without it, `pnpm --version` fails with "packages field missing or empty". Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix pnpm-workspace.yaml --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|
|
2e223e0f0d |
chore(workflows): adding pr-check.yaml to validate dist folder (#213)
Some checks failed
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 13s
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 13s
Test Action / Test with standalone (ubuntu-latest, true) (push) Failing after 12s
Test Action / Test with standalone (ubuntu-latest, false) (push) Failing after 15s
Test Action / Test with run_install (array, ubuntu-latest) (push) Failing after 10s
Test Action / Test with run_install (empty object, ubuntu-latest) (push) Failing after 10s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 10s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 10s
Test Action / Test with run_install (recursive, ubuntu-latest) (push) Failing after 9s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, false) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, true) (push) Has been cancelled
Test Action / Test with run_install (array, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (array, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, windows-latest) (push) Has been cancelled
* chore(workflows): adding pr-check.yaml to validate dist/index.js Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com> * fix: update dist/index.js Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com> --------- Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com> |
||
|
|
fc06bc1257 |
feat!: run the action on Node.js 24 (#205)
Some checks failed
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 11s
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 11s
Test Action / Test with run_install (array, ubuntu-latest) (push) Failing after 10s
Test Action / Test with standalone (ubuntu-latest, true) (push) Failing after 12s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 10s
Test Action / Test with run_install (empty object, ubuntu-latest) (push) Failing after 12s
Test Action / Test with standalone (ubuntu-latest, false) (push) Failing after 44s
Test Action / Test with run_install (recursive, ubuntu-latest) (push) Failing after 11s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 11s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, false) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, true) (push) Has been cancelled
Test Action / Test with run_install (array, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (array, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, windows-latest) (push) Has been cancelled
|
||
|
|
b906affcce |
Revert "feat!: run the action on Node.js 24 (#205)"
Some checks failed
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 24s
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 30s
Test Action / Test with run_install (array, ubuntu-latest) (push) Failing after 20s
Test Action / Test with run_install (empty object, ubuntu-latest) (push) Failing after 21s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 19s
Test Action / Test with standalone (ubuntu-latest, false) (push) Successful in 1m47s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 21s
Test Action / Test with run_install (recursive, ubuntu-latest) (push) Failing after 18s
Test Action / Test with standalone (ubuntu-latest, true) (push) Successful in 2m28s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, false) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, true) (push) Has been cancelled
Test Action / Test with run_install (array, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (array, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, windows-latest) (push) Has been cancelled
This reverts commit
v4
v4.3.0
|
||
|
|
9b5745cdf0 |
feat!: run the action on Node.js 24 (#205)
Some checks failed
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 12s
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 23s
Test Action / Test with standalone (ubuntu-latest, false) (push) Failing after 17s
Test Action / Test with run_install (array, ubuntu-latest) (push) Failing after 10s
Test Action / Test with run_install (empty object, ubuntu-latest) (push) Failing after 10s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 10s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 10s
Test Action / Test with run_install (recursive, ubuntu-latest) (push) Failing after 10s
Test Action / Test with standalone (ubuntu-latest, true) (push) Failing after 59s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, false) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, true) (push) Has been cancelled
Test Action / Test with run_install (array, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (array, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, windows-latest) (push) Has been cancelled
|
||
|
|
1e1c8eafbd |
ci: pin github actions (#199)
Some checks failed
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 30s
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 30s
Test Action / Test with standalone (ubuntu-latest, false) (push) Successful in 1m26s
Test Action / Test with standalone (ubuntu-latest, true) (push) Successful in 1m40s
Test Action / Test with run_install (array, ubuntu-latest) (push) Failing after 17s
Test Action / Test with run_install (empty object, ubuntu-latest) (push) Failing after 18s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 17s
Test Action / Test with run_install (recursive, ubuntu-latest) (push) Failing after 18s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 19s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, false) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, true) (push) Has been cancelled
Test Action / Test with run_install (array, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (array, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, windows-latest) (push) Has been cancelled
|
||
|
|
b9e1dbc72f |
fix(ci): exclude macos (#197)
Some checks failed
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 21s
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 23s
Test Action / Test with run_install (array, ubuntu-latest) (push) Failing after 17s
Test Action / Test with run_install (empty object, ubuntu-latest) (push) Failing after 19s
Test Action / Test with standalone (ubuntu-latest, true) (push) Successful in 54s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 17s
Test Action / Test with run_install (recursive, ubuntu-latest) (push) Failing after 18s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 18s
Test Action / Test with standalone (ubuntu-latest, false) (push) Successful in 3m6s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, false) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, true) (push) Has been cancelled
Test Action / Test with run_install (array, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (array, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, windows-latest) (push) Has been cancelled
|
||
|
|
61bc82c7df | refactor: remove star imports (#196) | ||
|
|
e94b270858 |
feat: store caching (#188)
Some checks failed
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 24s
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 22s
Test Action / Test with standalone (ubuntu-latest, false) (push) Successful in 41s
Test Action / Test with run_install (array, ubuntu-latest) (push) Failing after 19s
Test Action / Test with run_install (empty object, ubuntu-latest) (push) Failing after 20s
Test Action / Test with standalone (ubuntu-latest, true) (push) Failing after 4m59s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 4m24s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 4m56s
Test Action / Test with run_install (recursive, ubuntu-latest) (push) Failing after 4m55s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (macos-latest, false) (push) Has been cancelled
Test Action / Test with standalone (macos-latest, true) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, false) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, true) (push) Has been cancelled
Test Action / Test with run_install (array, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (array, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, windows-latest) (push) Has been cancelled
* add pnpm store caching * style: format * no semicolons * no star imports * import order * style: no star imports --------- Co-authored-by: khai96_ <hvksmr1996@gmail.com> |
||
|
|
ee7b8711bd |
Clarify that package_json_file is relative to GITHUB_WORKSPACE (#184)
Some checks failed
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 24s
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 24s
Test Action / Test with run_install (array, ubuntu-latest) (push) Failing after 18s
Test Action / Test with run_install (empty object, ubuntu-latest) (push) Failing after 18s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 17s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 18s
Test Action / Test with run_install (recursive, ubuntu-latest) (push) Failing after 15s
Test Action / Test with standalone (ubuntu-latest, true) (push) Successful in 13m47s
Test Action / Test with standalone (ubuntu-latest, false) (push) Successful in 15m27s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (macos-latest, false) (push) Has been cancelled
Test Action / Test with standalone (macos-latest, true) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, false) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, true) (push) Has been cancelled
Test Action / Test with run_install (array, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (array, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, windows-latest) (push) Has been cancelled
* Clarify that package_json_file is relative to GITHUB_WORKSPACE Clarify the description for package_json_file parameter to specify that the path must be relative to the repository root. * Apply suggestion from @zkochan --------- Co-authored-by: Zoltan Kochan <z@kochan.io> |
||
|
|
3a0024f066 |
Remove unused @types/node-fetch dependency (#186)
Some checks failed
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 24s
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 23s
Test Action / Test with run_install (array, ubuntu-latest) (push) Failing after 23s
Test Action / Test with run_install (empty object, ubuntu-latest) (push) Failing after 23s
Test Action / Test with standalone (ubuntu-latest, false) (push) Successful in 49s
Test Action / Test with run_install (global, ubuntu-latest) (push) Failing after 20s
Test Action / Test with run_install (recursive, ubuntu-latest) (push) Failing after 17s
Test Action / Test with run_install (null, ubuntu-latest) (push) Failing after 19s
Test Action / Test with standalone (ubuntu-latest, true) (push) Successful in 3m45s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (macos-latest, false) (push) Has been cancelled
Test Action / Test with standalone (macos-latest, true) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, false) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, true) (push) Has been cancelled
Test Action / Test with run_install (array, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (global, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (null, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, macos-latest) (push) Has been cancelled
Test Action / Test with run_install (array, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (empty object, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (global, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (null, windows-latest) (push) Has been cancelled
Test Action / Test with run_install (recursive, windows-latest) (push) Has been cancelled
|
||
|
|
72f04517b7 |
Update README.md (#175)
fix the string run_install example |
||
|
|
41ff726559 |
feat: support installation from custom NPM registry (#179)
Some checks failed
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 25s
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 25s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:array value:- {}
- recursive: true
- args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Failing after 19s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:empty object value:{}]) (push) Failing after 18s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:global value:args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Failing after 16s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:null value:null]) (push) Failing after 19s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:recursive value:recursive: true
]) (push) Failing after 16s
Test Action / Test with standalone (ubuntu-latest, true) (push) Successful in 22m19s
Test Action / Test with standalone (ubuntu-latest, false) (push) Failing after 3h14m51s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (macos-latest, false) (push) Has been cancelled
Test Action / Test with standalone (macos-latest, true) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, false) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, true) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:array value:- {}
- recursive: true
- args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:empty object value:{}]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:global value:args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:null value:null]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:recursive value:recursive: true
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:array value:- {}
- recursive: true
- args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:empty object value:{}]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:global value:args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:null value:null]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:recursive value:recursive: true
]) (push) Has been cancelled
copy .npmrc from GitHub workspace if it exists so that PNPM respects custom registry configurations when self-installingv4.2.0 |
||
|
|
f2b2b233b5 |
Remove --frozen-lockfile from examples (#171)
Some checks failed
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 2m53s
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 5m15s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:array value:- {}
- recursive: true
- args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Failing after 1m48s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:empty object value:{}]) (push) Failing after 23s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:global value:args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Failing after 16s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:recursive value:recursive: true
]) (push) Failing after 18s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:null value:null]) (push) Failing after 45s
Test Action / Test with standalone (ubuntu-latest, false) (push) Successful in 57m9s
Test Action / Test with standalone (ubuntu-latest, true) (push) Successful in 1h11m54s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (macos-latest, false) (push) Has been cancelled
Test Action / Test with standalone (macos-latest, true) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, false) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, true) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:array value:- {}
- recursive: true
- args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:empty object value:{}]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:global value:args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:null value:null]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:recursive value:recursive: true
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:array value:- {}
- recursive: true
- args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:empty object value:{}]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:global value:args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:null value:null]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:recursive value:recursive: true
]) (push) Has been cancelled
|
||
|
|
77504a59bc |
Fix multiline run_install example in README.md (#167)
Some checks failed
Test Action / Test with dest (ubuntu-latest, 9.15.5) (push) Failing after 23s
Test Action / Test with default inputs (ubuntu-latest, 9.15.5) (push) Failing after 26s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:empty object value:{}]) (push) Failing after 15s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:array value:- {}
- recursive: true
- args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Failing after 18s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:null value:null]) (push) Failing after 18s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:global value:args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Failing after 18s
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (ubuntu-latest, 9.15.5, map[name:recursive value:recursive: true
]) (push) Failing after 19s
Test Action / Test with standalone (ubuntu-latest, true) (push) Successful in 2m14s
Test Action / Test with standalone (ubuntu-latest, false) (push) Successful in 18m7s
Test Action / Test with default inputs (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with default inputs (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (macos-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with dest (windows-latest, 9.15.5) (push) Has been cancelled
Test Action / Test with standalone (macos-latest, false) (push) Has been cancelled
Test Action / Test with standalone (macos-latest, true) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, false) (push) Has been cancelled
Test Action / Test with standalone (windows-latest, true) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:array value:- {}
- recursive: true
- args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:empty object value:{}]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:global value:args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:null value:null]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (macos-latest, 9.15.5, map[name:recursive value:recursive: true
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:array value:- {}
- recursive: true
- args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:empty object value:{}]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:global value:args:
- --global
- --global-dir=./pnpm-global
- npm
- yarn
]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:null value:null]) (push) Has been cancelled
Test Action / Test with run_install (${{ matrix.run_install.name }}, ${{ matrix.os }}) (windows-latest, 9.15.5, map[name:recursive value:recursive: true
]) (push) Has been cancelled
|
||
|
|
d648c2dd06 |
fix: not allow install multiple package manager (#161)
When a project has both npm and pnpm, using pnpm/action-setup will result in an error: `Multiple versions of pnpm specified`. The previous implementation was only meant to avoid the "ERR_PNPM_BAD_PM_VERSION" error, but it did not take into account the situation of multiple different package managers. Signed-off-by: Kevin Cui <bh@bugs.cc> |
||
|
|
a7487c7e89 | feat: update dist v4.1.0 | ||
|
|
fff70888d0 | test: update pnpm to v9 | ||
|
|
6e3017af18 |
docs: support package.yaml (#157)
|
||
|
|
0cb0538c33 |
feat: support package.yaml (#156)
|
||
|
|
e303250a24 | docs: update pnpm version in readme examples (#154) | ||
|
|
ac5bf11548 | Update examples to use pnpm v9 (#142) | ||
|
|
18ac635edf | docs: remove redundant manual cache due to setup-node cache (#131) | ||
|
|
0d0b43217a | docs: add warning about v2 | ||
|
|
0eb0e97082 |
Add readme example for omitting version (#134)
* Add readme example for omitting `version` * docs: more detailed explanations --------- Co-authored-by: Khải <hvksmr1996@gmail.com> |