`latest` installs v27.0.0-alpha.0.0.0 not 26.13.0
Mantenedores costumam responder em até 3 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 45/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- github-actions, node.js, typescript
- Domínio
- ci-cd
Direção de pesquisa
The latest alias is resolved in the version-resolution code of the setup-node action, which pulls from the Node.js version manifest and falls back to nodejs.org/dist. Start by tracing how latest is mapped to a concrete version and why a 27.0.0-alpha prerelease is selected over 26.13.0. Done means node-version: latest resolves to the newest non-prerelease Current/LTS release, with a test covering alpha entries being skipped.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
- follow-on from comment https://github.com/actions/setup-node/issues/1657#issuecomment-6518244012
- relates to https://github.com/nodejs/node/issues/67135
Description:
Selecting version latest causes Node.js 27.0.0-alpha.0.0.0 to be installed.
This is not the latest version as defined by the Node.js documentation Release types.
https://nodejs.org/download/release/latest/ contains builds for Node.js 26.13.0 which is the Active LTS version, and the highest non-alpha release.
Action version:
action/[email protected]
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
N/A
Repro steps:
Specify node-version: latest
- name: Install Node.js latest
uses: actions/[email protected]
with:
node-version: latest
check-latest: true
See setup-node-latest.yml for runnable reproduction.
Expected behavior:
Specifying latest should install Node.js 26.13.0 (or later from the same Node.js 26.x release line, when available).
Release types says:
https://nodejs.org/download/release/
The latest directory is an alias for the latest Current release.
Index of /download/release/latest/
../
docs/ - -
win-arm64/ - -
win-x64/ - -
SHASUMS256.txt.asc 28-Oct-2026 13:01 4.1 KB
SHASUMS256.txt.sig 28-Oct-2026 13:01 566 B
SHASUMS256.txt 28-Oct-2026 17:41 3.2 KB
node-v26.13.0-aix-ppc64.tar.gz 28-Oct-2026 12:59 83 MB
node-v26.13.0-arm64.msi 28-Oct-2026 12:59 33 MB
node-v26.13.0-darwin-arm64.tar.gz 28-Oct-2026 12:59 58 MB
node-v26.13.0-darwin-arm64.tar.xz 28-Oct-2026 12:59 31 MB
node-v26.13.0-darwin-x64.tar.gz 28-Oct-2026 12:59 60 MB
node-v26.13.0-darwin-x64.tar.xz 28-Oct-2026 12:59 33 MB
node-v26.13.0-headers.tar.gz 28-Oct-2026 12:59 10 MB
node-v26.13.0-headers.tar.xz 28-Oct-2026 12:59 584 KB
node-v26.13.0-linux-arm64.tar.gz 28-Oct-2026 12:59 63 MB
node-v26.13.0-linux-arm64.tar.xz 28-Oct-2026 12:59 33 MB
node-v26.13.0-linux-ppc64le.tar.gz 28-Oct-2026 12:59 65 MB
node-v26.13.0-linux-ppc64le.tar.xz 28-Oct-2026 12:59 33 MB
node-v26.13.0-linux-s390x.tar.gz 28-Oct-2026 12:59 65 MB
node-v26.13.0-linux-s390x.tar.xz 28-Oct-2026 12:59 33 MB
node-v26.13.0-linux-x64-musl.tar.gz 28-Oct-2026 12:59 63 MB
node-v26.13.0-linux-x64-musl.tar.xz 28-Oct-2026 12:59 34 MB
node-v26.13.0-linux-x64.tar.gz 28-Oct-2026 12:59 63 MB
node-v26.13.0-linux-x64.tar.xz 28-Oct-2026 12:59 34 MB
node-v26.13.0-win-arm64.7z 28-Oct-2026 12:59 24 MB
node-v26.13.0-win-arm64.zip 28-Oct-2026 12:59 37 MB
node-v26.13.0-win-x64.7z 28-Oct-2026 12:59 26 MB
node-v26.13.0-win-x64.zip 28-Oct-2026 12:59 41 MB
node-v26.13.0-x64.msi 28-Oct-2026 12:59 37 MB
node-v26.13.0.pkg 28-Oct-2026 12:59 105 MB
node-v26.13.0.tar.gz 28-Oct-2026 12:59 127 MB
node-v26.13.0.tar.xz 28-Oct-2026 12:59 63 MB
Actual behavior:
actions/setup-node installs v27.0.0-alpha.0.0.0 when asked for latest
Run actions/[email protected]
with:
node-version: latest
check-latest: true
token: ***
package-manager-cache: true
getting latest node version...
getting latest node version...
Attempt to resolve the latest version from manifest...
Failed to resolve version v27.0.0-alpha.0.0.0 from manifest
Attempting to download v27.0.0-alpha.0.0.0...
Not found in manifest. Falling back to download directly from Node
Acquiring 27.0.0-alpha.0.0.0 - x64 from https://nodejs.org/dist/v27.0.0-alpha.0.0.0/node-v27.0.0-alpha.0.0.0-linux-x64.tar.gz
Extracting ...
/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/aa316193-6949-4603-bec6-c73e4bd2ceb6 -f /home/runner/work/_temp/57b2047f-1960-4aad-a93d-830eee1e5900
Adding to the cache ...
Done
Environment details
node: v27.0.0-alpha.0.0.0
npm: 12.1.0
yarn: 1.22.22
- Linguagem predominante
- TypeScript
- Estrelas
- 5k
- Forks
- 1.7k
- Merge médio
- 2d 4h
- PRs com merge (30d)
- 1
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de actions/setup-node
-
feature request
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
actions/setup-node#1531 · 1 comentário · 4 reações ·
Mantenedores costumam responder em até 3 dias
-
feature request
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 62/100
actions/setup-node#1657 · 4 comentários · 2 reações ·
Mantenedores costumam responder em até 3 dias
-
Improved error message when a required os lib is missingTalvez já em andamento @OKAN-SOFTWARE assumiu há 6 dias. Abertafeature request
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
actions/setup-node#1651 · 1 comentário ·
Mantenedores costumam responder em até 3 dias
-
Volta extends resolution in getNodeVersionFromFile has no cycle detection, recursing until stack overflowTalvez já em andamento @v-gowridurgad assumiu há 55 dias. Abertabug
actions/setup-node#1628 · 3 comentários · 1 responsável ·
Mantenedores costumam responder em até 3 dias
-
`npm config get cache` fails with `EBADDEVENGINES` when requiring newer npm versions in `devEngines`Abertafeature request
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 52/100
actions/setup-node#1553 · 15 comentários · 2 reações ·
Mantenedores costumam responder em até 3 dias
Todas as issues de actions/setup-node
Issues semelhantes
-
unwrapDatabaseError masks real DB errors with TypeError: Cannot convert object to primitive valueAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
NEARBuilders/everything-dev#798 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
vercel-labs/durable-harness#53 ·
Mantenedores costumam responder em até 1 dia
-
[Bug]: Redesign tab bars ignore clicks on Linux: hidden chat layers keep window drag regionsTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
experiência: a doc manda subir para o Micro do Supabase, mas não diz que exige plano pago nem quanto custaTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertaarea/docs area/ui enhancement
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 88/100
melgarafael/DeskcommCRM#4098 ·
Mantenedores costumam responder em até 1 dia
-
dependencies platform: ios
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 78/100
software-mansion/react-native-executorch#1617 ·
Mantenedores costumam responder em até 1 dia