Add Node LTS 6.9.1

nodejs

#1

Would it be possible to have the new LTS version of Node preinstalled? It would speed up a bit (~7s) the build :wink:


#2

I see you posted this yesterday, but I currently see this on my build:

Downloading https://nodejs.org/dist/v6.9.1/node-v6.9.1-linux-x64.tar.xz...

######################################################################## 100.0%
Now using node v6.9.1 (npm v3.10.8)
default -> 6.9 (-> v6.9.1)

#3

I’m asking to have the version available by default in the container, not when manually downloading it.
To be honest, I haven’t tried to set the version and see the result, but on this page, it doesn’t say it’s there: https://circleci.com/docs/build-image-trusty/#nodejs


#4

I didn’t do anything special/manual - just set the node version in my circle.yml file to ‘6.9’ and it got 6.9.1 as I indicated.

FWIW, I too find the online docs to typically be lagging the actual functionality.


#5

@philarmour I think the idea is to set the version of node to LTS rather than 6.9.1, then let CircleCI/NVM figure out the proper LTS version to grab so that you can always build against the latest LTS version, even after it changes from 6.9.1.


#6

But the LTS version is still argon instead of boron in NVM, afaik…


#7

@hoorayimhelping i agree that supporting “LTS” in the circle.yml sounds like a cool feature and you should request it.

As for the patch version number, as I indicated, I didn’t specify one. Circle choose 6.9.1. My assumption (could be wrong) is that as new patches come out and circle decides to support them, 6.9 will continue to default to the latest one. Again, a lot of assumptions here.


#8