Expo アプリを本番環境にデプロイ(配置・公開)するために EAS を使用します。iOS App Store、Google Play Store、TestFlight へのビルド作成と提出、eas.json のビルド・提出設定の構成、アプリのバージョンとビルド番号の管理、App Store のメタデータ(検索用情報)と ASO(アプリストア最適化)の公開、そして EAS Hosting を経由したウェブバンドルと API ルートの配置が可能です。 **次のような場合に使用:** 本番ビルドの準備をしている、eas build または eas submit を実行している、TestFlight への配信を行っている、アプリストアへのリリースまたは段階的な公開を実施している、Expo アプリのバージョン番号またはビルド番号を更新している、またはストアの商品ページ用メタデータを設定している場合。
Deploy Expo apps to production with EAS — build and submit to the iOS App Store, Google Play Store, and TestFlight, configure eas.json build and submit profiles, manage app versions and build numbers, publish App Store metadata and ASO, and deploy web bundles and API routes via EAS Hosting. Use whenever the user is preparing a production build, running eas build or eas submit, shipping to TestFlight, releasing or rolling out to the app stores, bumping version or build numbers, or setting up store listing metadata for an Expo app.
このスキルは、EAS(Expo Application Services)を使用したすべてのプラットフォームへのExpoアプリケーションのデプロイを対象としています。
必要に応じて以下のリソースを参照してください:
./references/workflows.md — 自動デプロイおよびPRプレビューのためのCI/CDワークフロー./references/testflight.md — ベータテスト用にiOSビルドをTestFlightへ提出する手順./references/app-store-metadata.md — App Storeメタデータの管理およびASO最適化./references/play-store.md — AndroidビルドをGoogle Play Storeへ提出する手順./references/ios-app-store.md — iOS App Storeへの提出およびレビュープロセスnpm install -g eas-cli
eas login
npx eas-cli@latest init
これにより、ビルドプロファイルを含む eas.json が作成されます。
# iOS App Store向けビルド
npx eas-cli@latest build -p ios --profile production
# Android Play Store向けビルド
npx eas-cli@latest build -p android --profile production
# 両プラットフォーム向けビルド
npx eas-cli@latest build --profile production
# iOS: App Store Connectへのビルドおよび提出
npx eas-cli@latest build -p ios --profile production --submit
# Android: Play Storeへのビルドおよび提出
npx eas-cli@latest build -p android --profile production --submit
# iOS TestFlight向けショートカット
npx testflight
EAS Hostingを使用してWebアプリをデプロイします:
# プロダクション環境へのデプロイ
npx expo export -p web
npx eas-cli@latest deploy --prod
# PRプレビューのデプロイ
npx eas-cli@latest deploy
Expo Router APIルートは、EAS Hosting上でWebバンドルとともにデプロイされます。eas deploy を実行すると、両方がまとめてデプロイされます。
APIルート自体の作成や設定を行う場合は、expo-api-routes スキルを使用してください。
プロダクションデプロイ向けの標準的な eas.json の構成:
{
"cli": {
"version": ">= 16.0.1",
"appVersionSource": "remote"
},
"build": {
"production": {
"autoIncrement": true,
"ios": {
"resourceClass": "m-medium"
}
},
"development": {
"developmentClient": true,
"distribution": "internal"
}
},
"submit": {
"production": {
"ios": {
"appleId": "your@email.com",
"ascAppId": "1234567890"
},
"android": {
"serviceAccountKeyPath": "./google-service-account.json",
"track": "internal"
}
}
}
}
npx testflight を使用してTestFlightへ素早く提出できますeas credentials でAppleの認証情報を設定します./references/testflight.md を参照してください./references/ios-app-store.md を参照してください./references/play-store.md を参照してください./references/workflows.md を参照してくださいEAS Workflowsを使用すると、ビルド → 提出 → アップデート → デプロイというCI/CDパイプラインを自動化できます。
デプロイに関連する具体的な例については ./references/workflows.md を参照してください。
ワークフローのYAMLを作成・検証する場合は、expo-cicd-workflows スキルを使用してください。このスキルはライブのワークフロースキーマに基づいて動作します。
appVersionSource: "remote" を設定することで、EASがバージョン番号を自動的に管理します:
# 現在のバージョンを確認
eas build:version:get
# バージョンを手動で設定
eas build:version:set -p ios --build-number 42
# 最近のビルド一覧を表示
eas build:list
# ビルドのステータスを確認
eas build:view
# 提出ステータスを確認
eas submit:list
This skill covers deploying Expo applications across all platforms using EAS (Expo Application Services).
Consult these resources as needed:
npm install -g eas-cli
eas login
npx eas-cli@latest init
This creates eas.json with build profiles.
# iOS App Store build
npx eas-cli@latest build -p ios --profile production
# Android Play Store build
npx eas-cli@latest build -p android --profile production
# Both platforms
npx eas-cli@latest build --profile production
# iOS: Build and submit to App Store Connect
npx eas-cli@latest build -p ios --profile production --submit
# Android: Build and submit to Play Store
npx eas-cli@latest build -p android --profile production --submit
# Shortcut for iOS TestFlight
npx testflight
Deploy web apps using EAS Hosting:
# Deploy to production
npx expo export -p web
npx eas-cli@latest deploy --prod
# Deploy PR preview
npx eas-cli@latest deploy
Expo Router API routes deploy together with the web bundle on EAS Hosting — eas deploy ships both. To author or configure the API routes themselves, use the expo-api-routes skill.
Standard eas.json for production deployments:
{
"cli": {
"version": ">= 16.0.1",
"appVersionSource": "remote"
},
"build": {
"production": {
"autoIncrement": true,
"ios": {
"resourceClass": "m-medium"
}
},
"development": {
"developmentClient": true,
"distribution": "internal"
}
},
"submit": {
"production": {
"ios": {
"appleId": "your@email.com",
"ascAppId": "1234567890"
},
"android": {
"serviceAccountKeyPath": "./google-service-account.json",
"track": "internal"
}
}
}
}
npx testflight for quick TestFlight submissionseas credentialsEAS Workflows automate the build → submit → update → deploy pipeline for CI/CD. See ./references/workflows.md for deployment-oriented examples. To author or validate workflow YAML, use the expo-cicd-workflows skill — it works from the live workflow schema.
EAS manages version numbers automatically with appVersionSource: "remote":
# Check current versions
eas build:version:get
# Manually set version
eas build:version:set -p ios --build-number 42
# List recent builds
eas build:list
# Check build status
eas build:view
# View submission status
eas submit:list
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。