I am struggling to find how to set the nodeJs version in CircleCi v2.0 when using machine: true
in .circleci/config.yml
I can see nvm
is used under the hood but can’t use it via a - run:
command
I can install n
and install the latest n 8.2.1
but the box still points to /opt/circleci/nodejs/v6.1.0/bin/node
Docker is not an option here.
I’d quite like to just specify it in the config.yml
as I did for v1.0
version: 8.2.1```
Any pointers anyone else having this issue?