Resolve mise aliases such as `lts` when reading mise.toml
メンテナーはふだん 7 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 58/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- github-actions, node.js, typescript
調査の方向性
Start by tracing how mise.toml values flow from getNodeVersionFromFile into isLtsAlias and version resolution. Check the existing tests for mise version files and LTS aliases, then add coverage for node = "lts"; done means it resolves as the current LTS or returns a clear error for unsupported mise aliases.
索引モデルが issue の本文から書いたものです。
説明
Description:
node-version-file: mise.toml (added in v7.1.0, #1421) reads [tools] node and passes the value through unchanged. Values that are valid for mise but are not in setup-node's version syntax then fail to resolve.
The common case is LTS:
# mise.toml
[tools]
node = "lts"
- uses: actions/[email protected]
with:
node-version-file: mise.toml
getNodeVersionFromFile returns lts. isLtsAlias only matches values that start with lts/, so lts is treated as a semver range, matches no release, and the step fails.
Proposal: when the version comes from mise.toml, translate mise's aliases to setup-node's syntax before resolving. At minimum, map lts to lts/*. Other mise-specific aliases could be handled the same way, or rejected with a clear error that names the unsupported value.
Justification:
A mise.toml is written for mise, and node = "lts" is the usual way to ask mise for the current LTS. Users who adopt the new mise.toml support expect the file they already have to work. Today the only option is to rewrite it as lts/*, which makes the file depend on setup-node's syntax instead of mise's, or to keep a separate node-version input in the workflow, which defeats the point of reading the file.
Are you willing to submit a PR?
Not at this time.
- 主要言語
- TypeScript
- スター
- 5k
- フォーク
- 1.7k
- 平均マージ
- 5日 1時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
actions/setup-node のほかの issue
-
`mirror-token` is sent to GitHub instead of `token` when `mirror` is set対応中かも @v-gowridurgad が 10 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
actions/setup-node#1662 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 7 日以内に返信
-
feature request
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
actions/setup-node#1531 · コメント 1 件 · リアクション 4 件 ·
メンテナーはふだん 7 日以内に返信
-
bug: pnpm cache hits provide little install speedup because lockfile verification is not cachedオープンbug needs triage
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
actions/setup-node#1672 ·
メンテナーはふだん 7 日以内に返信
-
Provide `allow-prereleases` (or similar) option for Node.js 27 Alpha対応中かも @v-priyagupta108 が 7 日前に担当しました。 オープンfeature request
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
actions/setup-node#1657 · コメント 5 件 · リアクション 4 件 · 担当者 1 名 ·
メンテナーはふだん 7 日以内に返信
-
Improved error message when a required os lib is missing対応中かも @OKAN-SOFTWARE が 20 日前に担当しました。 オープンfeature request
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
actions/setup-node#1651 · コメント 1 件 ·
メンテナーはふだん 7 日以内に返信
actions/setup-node の issue をすべて見る
似ている issue
-
db-d1-sqlite: upsert is aliased to updateOne, so payload.kv.set never inserts new keys対応中かも @pcbeingused333 が今日担当しました。 オープンBug db: d1-sqlite Payload OSS
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
payloadcms/payload#19766 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
device-management-toolkit/sample-web-ui#3711 ·
メンテナーはふだん 1 日以内に返信
-
bug impact:low Team: SecuritySolution Team:Defend Workflows v9.6.0
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
elastic/kibana#306401 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
agentes-chat/agentes-chat#927 ·
メンテナーはふだん 1 日以内に返信
-
Closing a pinned tab jumps to the Tabs section instead of the next open pinned tab対応中かも @seenimohamed が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ardia-browser/ardia#2769 ·
メンテナーはふだん 1 日以内に返信