expo-deployment
此技能集提供AI代理能力,专注于Expo项目的部署流程,简化移动应用的打包、发布和更新,确保应用能够高效、稳定地交付给用户。
npx skills add expo/skills --skill expo-deploymentBefore / After 效果对比
1 组手动打包 Expo 应用并提交到 App Store 或 Google Play,需要处理证书、配置文件、签名等复杂步骤,耗时且容易出错。
使用 EAS (Expo Application Services) 自动化部署 Expo 应用,通过简单的命令或 CI/CD 配置,即可实现跨平台应用的构建、签名和发布,大大简化了部署流程,提高了效率和可靠性。
expo-deployment
Deployment
This skill covers deploying Expo applications across all platforms using EAS (Expo Application Services).
References
Consult these resources as needed:
-
./references/workflows.md -- CI/CD workflows for automated deployments and PR previews
-
./references/testflight.md -- Submitting iOS builds to TestFlight for beta testing
-
./references/app-store-metadata.md -- Managing App Store metadata and ASO optimization
-
./references/play-store.md -- Submitting Android builds to Google Play Store
-
./references/ios-app-store.md -- iOS App Store submission and review process
Quick Start
Install EAS CLI
npm install -g eas-cli
eas login
Initialize EAS
npx eas-cli@latest init
This creates eas.json with build profiles.
Build Commands
Production Builds
# 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
Submit to Stores
# 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
Web Deployment
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
EAS Configuration
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"
}
}
}
}
Platform-Specific Guides
iOS
-
Use
npx testflightfor quick TestFlight submissions -
Configure Apple credentials via
eas credentials -
See ./reference/testflight.md for credential setup
-
See ./reference/ios-app-store.md for App Store submission
Android
-
Set up Google Play Console service account
-
Configure tracks: internal → closed → open → production
-
See ./reference/play-store.md for detailed setup
Web
-
EAS Hosting provides preview URLs for PRs
-
Production deploys to your custom domain
-
See ./reference/workflows.md for CI/CD automation
Automated Deployments
Use EAS Workflows for CI/CD:
# .eas/workflows/release.yml
name: Release
on:
push:
branches: [main]
jobs:
build-ios:
type: build
params:
platform: ios
profile: production
submit-ios:
type: submit
needs: [build-ios]
params:
platform: ios
profile: production
See ./reference/workflows.md for more workflow examples.
Version Management
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
Monitoring
# List recent builds
eas build:list
# Check build status
eas build:view
# View submission status
eas submit:list
Weekly Installs11.0KRepositoryexpo/skillsGitHub Stars1.5KFirst SeenJan 19, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykWarnInstalled onopencode8.0Kgithub-copilot8.0Kcodex7.8Kgemini-cli7.6Kcursor7.5Kclaude-code6.5K
用户评价 (0)
发表评价
暂无评价
统计数据
用户评分
为此 Skill 评分