-
Notifications
You must be signed in to change notification settings - Fork 1.4k
How do I choose the latest node version? #61
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
Comments
I was looking for this too but I think there's no way. The version seems to be passed to Line 53 in e565252
|
@fregante Thanks for the help. I guess I'll have to set it manually, or just forget about it. |
SolutionIf you use a node docker image instead of jobs:
my_job:
runs-on: ubuntu-latest
container: node:latest
steps:
- run: npm install
- run: npm test Or you can use n, my go-to Node version installer: jobs:
my_job:
runs-on: ubuntu-latest
steps:
- run: n stable
- run: npm install
- run: npm test However the |
@fregante Thanks that might help! |
It would be the |
I checked it and https://www.npmjs.com/package/semver/v/7.1.1#x-ranges-12x-1x-12- |
Running the docker container might not be a solution, especially when you have to run arbitrary |
I'm sorry if this turns out to be a stupid question, but how do I choose the latest Node version available?
When generating stuff like code coverage(for example), it doesn't matter to me which Node version is used and I rather use the latest one.
The text was updated successfully, but these errors were encountered: