-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Set npm/yarn/pnpm version #529
Comments
Hi @stijn-gravity, thank you for your proposal, we will consider it. |
I will be opening a PR on this! |
Two options for specifying a solution could be querying the |
You can "set" npm/yarn/pnpm version if you use
Or manually install package managers: npm install npm@a.b.c
yarn set version a.b.c
npm install pnpm@a.b.c # Or use pnpm/action-setup which has a version option |
This should be solved by #531 |
Also see #546 |
Description:
Similar to how we can set the node version I'd like to set the npm version.
There is a similar issue here #213, but it's for a different reason and this one can be resolved by setting the node version. However this is not enough for the problems I have been facing.
Justification:
Currently I am struggling with a bug in npm from versions 8.11 to 8.13. These are automatically installed when you chose node version 1.16. This means I have to set back my npm version so the ci can run, which I can do in an extra ci step.
However to me the issue is that the npm version will change over time, without our input. We'd like control over this to prevent issues like the one above from showing up.
Are you willing to submit a PR?
Not currently but I might in the future.
The text was updated successfully, but these errors were encountered: