expo-deployment by expo/skills
npx skills add https://github.com/expo/skills --skill expo-deployment本技能涵盖使用 EAS(Expo Application Services)在所有平台上部署 Expo 应用程序。
根据需要查阅这些资源:
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
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
# 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
用于生产部署的标准 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 快速提交到 TestFlighteas credentials 配置 Apple 凭据使用 EAS Workflows 实现 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
更多工作流示例请参阅 ./reference/workflows.md。
EAS 通过 appVersionSource: "remote" 自动管理版本号:
# 检查当前版本
eas build:version:get
# 手动设置版本
eas build:version:set -p ios --build-number 42
# 列出最近的构建
eas build:list
# 检查构建状态
eas build:view
# 查看提交状态
eas submit:list
每周安装量
12.4K
仓库
GitHub 星标数
1.5K
首次出现
2026年1月19日
安全审计
安装于
opencode9.3K
github-copilot9.2K
codex9.0K
cursor8.8K
gemini-cli8.8K
amp7.2K
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
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 credentialsUse 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.
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
Weekly Installs
12.4K
Repository
GitHub Stars
1.5K
First Seen
Jan 19, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode9.3K
github-copilot9.2K
codex9.0K
cursor8.8K
gemini-cli8.8K
amp7.2K
97,600 周安装