-
Notifications
You must be signed in to change notification settings - Fork 14
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
Install version from .nvmrc #1
Comments
Should be possible. Maybe specifying |
If you specify empty string, it installs the node version from the .nvmrc file in this repository...
(I had 10.16.3 in my .nvmrc file) |
This would be really useful, but I’m not just posting a comment to ask for that feature. I wanted to suggest that in the meantime, it would be a good idea to change Line 6 in 23906d3
.nvmrc file.
|
Hmm, I thought 3fca218 would make it work. It essentially uses an empty node version by default, which should make nvm look up from |
Thanks for your reply 😃Ah, in that case ignore my comment! My particular case doesn’t work because I need to specify a working directory and there’s no mechanism to do that in GitHub Actions, but I assumed that point was moot as I found this issue still open. Would you say this issue should be resolved then? |
This is definitely not resolved IMO. You can see my PR where it is working https://github.com/dcodeIO/setup-node-nvm/pull/2/files |
This doesn't work at all, and it would be great to at least change the description. |
I'm new to GH actions and migrating from Travis. In Travis is
.nvmrc
is present that version will be used. Would it be possible to make this action respect the version in.nvmrc
and omit thenode-version
argument?The text was updated successfully, but these errors were encountered: