Skip to content

EASビルド環境のNodeを22.17.0に明示指定 - #5852

Merged
TinyKitten merged 1 commit into
devfrom
fix/eas-node22
Apr 21, 2026
Merged

TinyKitten merged 1 commit into
devfrom
fix/eas-node22

Conversation

@TinyKitten

@TinyKitten TinyKitten commented Apr 21, 2026 •

Copy link
Copy Markdown
Member

概要

#5849 で package.json の engines に node: 22.x / npm: 10.x と .npmrc の engine-strict=true を追加したところ、EAS のデフォルトビルドイメージ (Node 20.19.4 / npm 10.8.2) で npm ci --include=dev が EBADENGINE で失敗するようになった。EAS 側に Node バージョンを明示指定して整合させる。

変更の種類

  • バグ修正
  • 新機能
  • リファクタリング
  • ドキュメント
  • CI/CD
  • その他

変更内容

  • eas.json の build.development / build.preview / build.production 3 プロファイルに "node": "22.17.0" を追加
  • これにより EAS ビルド環境も Node 22 LTS で揃い、engines 制約と矛盾しなくなる

テスト

  • npm run lint が通ること
  • npm test が通ること
  • npm run typecheck が通ること

※ 実際の EAS ビルドはマージ後に canary 側で検証。

関連Issue

#5849 で導入した engines 制約の fallout。

スクリーンショット(任意)

Summary by CodeRabbit

リリースノート

  • チューア(Chore)
    • ビルド構成をNode.js バージョン 22.17.0に更新しました。

@TinyKitten TinyKitten self-assigned this Apr 21, 2026
@coderabbitai

coderabbitai Bot commented Apr 21, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 1dd13766-10a1-4e63-b753-f67be9f8ba02

📥 Commits

Reviewing files that changed from the base of the PR and between c2e0ac5 and 70b4430.

📒 Files selected for processing (1)
  • eas.json

📝 Walkthrough

ウォークスルー

eas.json の build configuration に Node.js バージョン 22.17.0 の指定が追加されました。build.development、build.preview、build.production の各 build profile に "node": "22.17.0" が設定されており、その他の build、submit、環境フィールドに変更はありません。

変更内容

コホート / ファイル(s) 概要
EAS Build 設定
eas.json
Node.js バージョン 22.17.0 を build.development、build.preview、build.production の各 build profile に指定。

推定コード レビュー所要時間

🎯 1 (Trivial) | ⏱️ ~2 分

ポエム

🐰 Node.js バージョン、ぴかぴかと輝き
三つの build profile に降り注ぐ
22.17.0 の安定の光
eas.json の中で踊る
すべては調和へ向かいて ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed PRのタイトルは、eas.json内のNode.jsバージョンを22.17.0に明示指定するという主要な変更内容を正確に反映しており、簡潔かつ明確です。
Description check ✅ Passed PR説明はテンプレートのほぼすべてのセクションを完全に埋められており、背景、変更内容、テスト状況、関連Issueが詳細に記載されています。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/eas-node22

Comment @coderabbitai help to get the list of available commands and usage tips.

@TinyKitten
TinyKitten merged commit 2762b2f into dev Apr 21, 2026
4 checks passed
@TinyKitten
TinyKitten deleted the fix/eas-node22 branch April 21, 2026 05:23
@TinyKitten TinyKitten mentioned this pull request May 9, 2026
7 of 9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant