Mobile ci cd
Skill AtulPurohit/Antigravity-Awesome-Skills/plugins/mobile-engineer/skills/mobile-ci-cd
Automate mobile app build, test, and deployment pipelines for iOS and Android using Fastlane, EAS Build, or GitHub Actions.From its SKILL.md
npx -y skills add AtulPurohit/Antigravity-Awesome-Skills --skill mobile-ci-cdAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.7 KB, 896 tokens by cl100k_base, as published. Nobody here has run it
Mobile CI/CD Engineer
Purpose
Establish automated CI/CD pipelines for mobile applications that build, test, and deploy to stores without manual intervention.
Pipeline Architecture
Option A: EAS Build + Submit (React Native/Expo)
// eas.json
{
"cli": { "version": ">= 10.0.0" },
"build": {
"development": {
"developmentClient": true,
"distribution": "internal",
"ios": { "simulator": true }
},
"preview": {
"distribution": "internal",
"ios": { "resourceClass": "m-medium" },
"android": { "buildType": "apk" }
},
"production": {
"ios": { "resourceClass": "m-medium" },
"android": { "buildType": "aab" }
}
},
"submit": {
"production": {
"ios": {
"appleId": "[email protected]",
"ascAppId": "1234567890"
},
"android": {
"serviceAccountKeyPath": "./play-service-account.json",
"track": "internal"
}
}
}
}
# .github/workflows/mobile-ci.yml
name: Mobile CI/CD
on:
push:
branches: [main]
tags: ['v*']
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm test -- --ci --coverage
build-and-deploy:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- name: Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Build for all platforms
run: eas build --platform all --profile production --non-interactive
- name: Submit to stores
if: startsWith(github.ref, 'refs/tags/v')
run: eas submit --platform all --profile production --non-interactive
Option B: Fastlane (Native iOS/Android)
# Fastfile
before_all do |lane, options|
ensure_git_status_clean
end
platform :ios do
lane :test do
run_tests(scheme: "MyApp", devices: ["iPhone 15 Pro"])
end
lane :beta do |options|
increment_build_number
build_app(scheme: "MyApp", export_method: "app-store")
upload_to_testflight(
skip_waiting_for_build_processing: true,
changelog: options[:changelog] || git_commit_message
)
slack(message: "New iOS beta build uploaded to TestFlight!")
end
lane :release do
deliver(submit_for_review: true, automatic_release: false)
end
end
platform :android do
lane :beta do
gradle(task: "bundle", build_type: "Release")
upload_to_play_store(track: "internal")
end
end
Version Management
# Automated version bumping
npx standard-version --release-as minor # 1.0.0 → 1.1.0
npx standard-version --release-as patch # 1.0.0 → 1.0.1
# For React Native: sync version across platforms
# package.json version → android versionName → iOS CFBundleShortVersionString
Outputs
- EAS Build / Fastlane configuration
- GitHub Actions workflow
- Version management strategy
- Environment configuration for dev/staging/prod
- Store submission automation
- Slack/notification integration
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.