Provide `allow-prereleases` option for Node.js 27 Alpha
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 62/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github-actions, node.js, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
Edit: according to the discussion in https://github.com/actions/setup-node/issues/1660 latest will be changed to install the latest non-alpha version, so the following will not be a future workaround:
- 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
- 主要言語
- TypeScript
- スター
- 5k
- フォーク
- 1.7k
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
actions/setup-node のほかの issue
-
feature request
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
actions/setup-node#1531 · コメント 1 件 · リアクション 4 件 ·
メンテナーはふだん 3 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
actions/setup-node#1660 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
-
Improved error message when a required os lib is missing対応中かも @OKAN-SOFTWARE が 5 日前に担当しました。 オープンfeature request
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
actions/setup-node#1651 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
Volta extends resolution in getNodeVersionFromFile has no cycle detection, recursing until stack overflow対応中かも @v-gowridurgad が 54 日前に担当しました。 オープンbug
actions/setup-node#1628 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
`npm config get cache` fails with `EBADDEVENGINES` when requiring newer npm versions in `devEngines`オープンfeature request
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
actions/setup-node#1553 · コメント 15 件 · リアクション 2 件 ·
メンテナーはふだん 3 日以内に返信
actions/setup-node の issue をすべて見る
似ている issue
-
Add: Yichang TVオープンcheck:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
vtselect: data race in Tempo search tags APIs for invalid TraceQL queries対応中かも @Shubham19032004 が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
VictoriaMetrics/VictoriaTraces#304 ·
メンテナーはふだん 1 日以内に返信
-
test: claim-conflict drop leaves both facts active and is never re-proposed (untested review cell)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/vscode-pull-request-github#9159 ·
メンテナーはふだん 1 日以内に返信
-
[Feature]: Usage page should show API-equivalent cost and say when a connected plan shows info onlyオープンenhancement from-x
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
nightly-labs/openbot#4867 ·
メンテナーはふだん 1 日以内に返信