-
Notifications
You must be signed in to change notification settings - Fork 66
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
".nvmrc" support? #727
Comments
Nope, because AppVeyor doesn't use NVM. |
@FeodorFitsner Have you any plans to support it? |
What's use case here? |
Using edge version of It would be nice do not define environment:
matrix:
- nodejs_version: 4.2
- nodejs_version: 4.1
- nodejs_version: 4.0
- nodejs_version: 0.12
install:
- ps: Install-Product node $env:nodejs_version
For instance https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Using-.nvmrc |
I'm not familiar with NVM, but can you specify the same versions matrix in .nvmrc? |
@FeodorFitsner No, you can't. You can specify only one version of For instance:
|
There are solutions for Windows, but I believe nothing has become the standard like nvm on nix. |
Sorry for poking an old thread, but NVM itself points to https://github.com/coreybutler/nvm-windows |
Although I'm not looking to use I like to use the latest version of Node.js that corresponds to each supported major version. For example, I say I want I was disappointed that the versions available through AppVeyor are extremely limited and not the latest: https://www.appveyor.com/docs/build-environment/#node-js In fact, there is a bug in npm that is fixed in a later version of Node that was causing my build to break. I had two options: find a way to install the latest Node.js (which for now includes this latest version of npm) or conditionally upgrade npm by itself when necessary. I started going down the path to use I then tried installing If I had
As a temporary workaround for now, I added conditional
Furthermore, TravisCI uses |
We've just updated Node.js 8.x up to the latest 8.2.1. Actually, there is another |
Great! That's a better solution than what I had, thank you. Here's my final configuration:
|
Btw, you can use ps-nvm for this (supports .nvmrc). You can install it in CI with |
You can read
If you want to be on the bleeding edge of LTS, you need something like the script below:
This, unfortunately, does not support al |
Does
appveyor
support.nvmrc
out of the box?The text was updated successfully, but these errors were encountered: