pnpm / action-setup

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

Support wildcard for version #133

Open owjs3901 opened 2 months ago

owjs3901 commented 2 months ago

If package.json has a packageManager property and set any string to the version of pnpm setup action, it raises an error. However, the star sign() means to allow any version. So, If is set as the version of the pnpm setup action, the action should select the version in package.json.

zkochan commented 1 month ago

Is this supported by corepack?

owjs3901 commented 1 month ago

@zkochan Yes, It works image

zkochan commented 6 days ago

No, that command will resolve the package manager to an exact version and write an exact version to package.json. The packageManager field currently only works with exact versions.