pnpm / action-setup

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

Add support for grabbing `version` from the `engines.pnpm` field #123

Closed Stanzilla closed 4 months ago

Stanzilla commented 4 months ago

Currently the action is able to grab the version from the packageManager field which causes a few side effects.

If a user wants the repo to use a specified version of pnpm but not down to the patch level version, it was recommended to set the engines.pnpm field instead since packageManager does not support ranges.

It would be nice if the action supported reading this field as well.

Related:

karlhorky commented 4 months ago

Is this a duplicate of https://github.com/pnpm/action-setup/issues/84 ?

Stanzilla commented 4 months ago

Is this a duplicate of #84 ?

Oh yes, my bad, sorry!