Provide `allow-prereleases` option for Node.js 27 Alpha
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 62/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, node.js, typescript
Línea de trabajo
Read the version input handling and Node.js version resolution entry points, then compare how actions/setup-python handles allow-prereleases, as linked in the issue. Check the existing tests for version selection and add coverage for the default false behavior and enabling prerelease resolution. Done when node-version: 27 selects the available alpha only with the option enabled.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description:
Add an option allow-prereleases, like in actions/setup-python, so that Node.js 27 Alpha can be selected simply using:
- uses: actions/setup-node@v7
with:
node-version: 27
allow-prereleases: true
allow-prereleases should default to false.
Justification:
Evolving the Node.js Release Schedule explains how Node.js has introduced a 6 month Alpha phase for new Node.js release lines. This is important for pre-testing and it replaces the previous system of odd- and even-numbered releases, where only the even-numbered release lines were promoted to LTS (Long Term Support).
For ongoing CI testing during the 6 month Alpha phase, GitHub Actions workflows need to be able to specify a generic version of Node.js 27 without having to update a workflow every time there is a new Alpha release (probably every 2 weeks):
None of the following are currently recognized:
2727.0.027.0.0-alpha
only the explicit 27.0.0-alpha.0.0.0 is working:
- uses: actions/setup-node@v7
with:
node-version: 27.0.0-alpha.0.0.0
Are you willing to submit a PR?
No, I won't be able to do this.
Workaround
Specify the exact Node.js Alpha version or latest:
- uses: actions/setup-node@v7
with:
node-version: 27.0.0-alpha.0.0.0
- uses: actions/setup-node@v7
with:
node-version: latest
Logs
Run actions/setup-node@v7
Attempting to download 27.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/c05d6fa5-ba28-44d7-91cc-40190b158d8f -f /home/runner/work/_temp/92c81dc9-5787-4156-bc71-a2b3900392cf
Adding to the cache ...
Done
Environment details
node: v27.0.0-alpha.0.0.0
npm: 12.1.0
yarn: 1.22.22
- Lenguaje dominante
- TypeScript
- Estrellas
- 5k
- Forks
- 1.7k
- Merge medio
- 2 d 4 h
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de actions/setup-node
-
feature request
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
actions/setup-node#1531 · 1 comentario · 4 reacciones ·
Los mantenedores suelen responder en 3 días
-
bug needs triage
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
actions/setup-node#1660 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 3 días
-
Improved error message when a required os lib is missingPosiblemente ocupada @OKAN-SOFTWARE la tomó hace 4 días. Abiertofeature request
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
actions/setup-node#1651 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Volta extends resolution in getNodeVersionFromFile has no cycle detection, recursing until stack overflowPosiblemente ocupada @v-gowridurgad la tomó hace 53 días. Abiertobug
actions/setup-node#1628 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
`npm config get cache` fails with `EBADDEVENGINES` when requiring newer npm versions in `devEngines`Abiertofeature request
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
actions/setup-node#1553 · 15 comentarios · 2 reacciones ·
Los mantenedores suelen responder en 3 días
Todos los issues de actions/setup-node
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Broken links in the docsAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
🔊 a11y
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
betagouv/mon-entreprise#4726 ·
Los mantenedores suelen responder en 9 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Deltares/fews-pi-requests#357 ·
Los mantenedores suelen responder en 1 día
-
bug confirmed js v6
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día