Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support wildcard for version #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

owjs3901
Copy link

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
Copy link
Member

zkochan commented Jul 5, 2024

Is this supported by corepack?

@owjs3901
Copy link
Author

@zkochan Yes, It works
image

@zkochan
Copy link
Member

zkochan commented Aug 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants