pnpm / action-setup

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

Support wildcard for version #133

Open owjs3901 opened 4 months ago

owjs3901 commented 4 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 4 months ago

Is this supported by corepack?

owjs3901 commented 4 months ago

@zkochan Yes, It works image

zkochan commented 2 months 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.