pnpm / action-setup

Install pnpm package manager
https://github.com/marketplace/actions/setup-pnpm
MIT License
887 stars 84 forks source link

Adding `+` to version prevents checkout #140

Open jodator opened 1 month ago

jodator commented 1 month ago

When the packageManager version is defined in a corepack compatible way, e.g. pnpm:9.5.0+ the action checkout fails with

ERR_PNPM_SPEC_NOT_SUPPORTED_BY_ANY_RESOLVER  pnpm@9.5.0+ isn't supported by any available resolver.

It would be good to support + range specifier to:

  1. Allow devs use any compatible PNPM version (e.g. latest)
  2. Make action checkout work with define one 9.5.0