-
Notifications
You must be signed in to change notification settings - Fork 1.4k
lts/* isn't installing the latest LTS #1153
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
Hello @nex3 👋, |
Why it is so? |
Using a
From what I can tell, the code in setup-node/src/distributions/official_builds/official_builds.ts Lines 210 to 215 in 39370e3
I can't seem to find anything with a |
Looking more closely, is it getting a list of versions from https://github.com/actions/node-versions/blob/main/versions-manifest.json?
|
Yup, it's dependant on this PR: actions/node-versions#191 |
It is better to get node versions and codenames from the official node sources - it will always work. codenames: https://github.com/nodejs/Release/blob/main/schedule.json |
Maintainers from the third-party project dived into a alcoholic trip and life has been stopped. |
|
Hi @nex3, We apologise for the inconvenience. The PR is now merged, and the version manifest file has been updated. We are now successfully retrieving the latest Node.js LTS version. Attached a screenshot for your reference. We will proceed to close this issue. Please feel free to reopen this issue or create a new one if necessary. ![]() |
Description:
The current Node LTS at time of writing is v22.11.0. If I run
nvm install lts/*
locally, that's what gets installed. However, when I selectlts/*
for GitHub actions, I am getting v20.18.0 instead.You can see this in this CI run, which I've screenshotted for posterity:
This is the corresponding action configuration:
Action version:
v4
, which is currently 39370e3Platform:
Runner type:
Tools version:
See above screenshot.
Repro steps:
See links above.
Expected behavior:
This should install the latest Node.js LTS and the same version as
nvm install lts/*
, v22.11.0.Actual behavior:
This is installing v20.18.0.
The text was updated successfully, but these errors were encountered: