-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Allow installing Node.js version based on .nvmrc #14094
Comments
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
I think this is still very relevant and I wouldn't believe it to be too
hard to do either.
|
up |
I had a go at this in PR #15615 |
Is there any timeline on this deployment? |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Would still be useful. |
This has already been deployed and is working as expected on my end! |
@JaydenMaalouf How did you get it working? For some reason, it does not pick up the version from .nvmrc
From App Center logs: Even manually selecting the node version from the dropdown does not work. |
Are you invoking the Simply calling this before anything else (but after checkout): - task: NodeTool@0
inputs:
versionSource: 'fromFile'
versionFilePath: '.nvmrc' Should result in your node install matching the version defined in your .nvmrc |
How do you invoke |
Either via your yaml file using the yaml I provided above or if you are using Releases, via the Node task in Azure DevOps with the appropriate parameters |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Feature
Enter Task Name: Node.js Tool Installer
Environment
Issue Description
Please add an option to install the Node.js version defined in
.nvmrc
. This would be useful for fixing a particular version across development and build pipelines. Currently when the Node version is upgraded, you need to go through all pipelines and update their configuration (and impossible if different branches require different versions). For example App Center has the option of selecting a specific Node version or using.nvmrc
.The text was updated successfully, but these errors were encountered: