Skip to content
项目

TanayK07/expo-react-native-cicd

在 GitHub 查看

关于

🚀 Expo EAS 构建的免费替代方案!使用 GitHub Actions 为 React Native 和 Expo 应用搭建完整的 CI/CD 流水线。通过无限次构建、自动化测试和灵活的部署选项,每月节省数百美元。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

🚀 Free React Native & Expo CI/CD Builder

GitHub Marketplace License: MIT PRs Welcome GitHub stars GitHub issues

📹 Demo Video

https://github.com/user-attachments/assets/bd1dd6dc-04b6-4b22-91c3-13721b2220e0

See how to set up your free CI/CD pipeline in under 5 minutes

Save $100s monthly on Expo EAS build costs! 🔥 Build, test, and deploy your React Native/Expo apps directly with GitHub Actions - no paid EAS subscription required.

🎯 Why This Tool?

EAS Build Plans This Solution Monthly Savings
Free Plan: 30 builds/month ∞ Unlimited builds $0 → $∞ value
Production: $99/month $0 $1,188/year
Priority: $299/month $0 $3,588/year

✨ Key Benefits

  • 💰 Free Alternative to EAS Build Plans: Skip the $15-299/month EAS build plans
  • 🔄 Complete CI/CD Pipeline: Automated testing, building, and deployment
  • 📱 Multiple Build Formats: Generate development builds, production APKs and AABs
  • ☁️ Flexible Storage Options: Deploy to GitHub Releases, Google Drive, Zoho Drive, or any rclone-supported storage
  • 🛠️ Customizable Workflow: Choose only the components you need
  • ⚡ Zero Configuration Option: Get started with a single click
  • 🔒 Secure: Builds run on GitHub's secure infrastructure
  • 🌐 Open Source: Fully transparent and customizable

🚀 Quick Start

Option 1: Use Our Workflow Generator (Recommended)

  1. 🌐 Visit our Interactive Workflow Generator
  2. 🛠️ Configure your build preferences (storage, build types, tests)
  3. 📋 Copy the generated workflow file
  4. 📁 Save it as .github/workflows/react-native-cicd.yml in your repository
  5. 🔑 Add your EXPO_TOKEN in repository settings → Secrets and variables → Actions

Option 2: Manual Setup

  1. Go to the Actions tab in your repository
  2. Search for "React Native Expo Builder"
  3. Click "Configure"
  4. Commit the workflow to your repository
  5. Add your Expo token in repository settings

That's it! Your next push to the main branch will trigger automatic builds.

📋 Configuration Options

🏗️ Build Types

  • Development Build: Debug APK for testing
  • Production APK: Release-ready APK for sideloading
  • Production AAB: App Bundle for Google Play Store

📤 Storage Destinations

  • GitHub Releases: Automatic versioned releases
  • GitHub Artifacts: 7-day retention (free)
  • Google Drive: Cloud storage with sharing
  • Zoho Drive: Enterprise cloud storage
  • Custom rclone: Any rclone-supported storage

🧪 Quality Checks

  • TypeScript: Type checking
  • ESLint: Code quality and standards
  • Prettier: Code formatting

🔄 Triggers

  • Push Events: Automatic builds on code changes
  • Pull Requests: Build verification for PRs
  • Manual Dispatch: On-demand builds

🎥 Demo & Examples

Live Examples

Build Output Examples

✅ TypeScript Check - 2m 15s
✅ ESLint - 1m 32s
✅ Prettier Check - 0m 45s
✅ Development APK - 8m 20s
✅ Production APK - 9m 15s
✅ Production AAB - 10m 05s
📤 Uploaded to Google Drive

🧰 Advanced Setup

For advanced configurations and custom setups:

How It Works

graph LR
    A[Code Push] --> B[GitHub Actions]
    B --> C[Install Dependencies]
    C --> D[Run Tests]
    D --> E[Build APK/AAB]
    E --> F[Upload Artifacts]
    F --> G[Notify Success]
  1. Triggers: GitHub Actions detects code changes or manual triggers
  2. Environment: Spins up Ubuntu runner with Node.js and required tools
  3. Dependencies: Installs project dependencies and EAS CLI
  4. Testing: Runs TypeScript, ESLint, and Prettier checks
  5. Building: Uses EAS CLI to build locally on the runner
  6. Deployment: Uploads artifacts to your chosen storage destination

🛡️ Security & Privacy

  • ✅ No Data Collection: We don't collect or store any of your code or build data
  • ✅ Secure Builds: All builds run on GitHub's secure infrastructure
  • ✅ Token Safety: Your Expo tokens are securely stored in GitHub Secrets
  • ✅ Open Source: Full transparency - review our code anytime

🆚 Comparison with Alternatives

Feature This Solution EAS Build Bitrise CircleCI
Cost Free $99-299/month $36-110/month $30-200/month
Build Minutes Unlimited* Limited by plan Limited by plan Limited by plan
Setup Time 5 minutes 10 minutes 30 minutes 45 minutes
Customization Full control Limited Medium High
Storage Options Multiple EAS only Limited Limited

⭐️ If this action saved you time or money, consider starring the repo!

Buy Me A Coffee

Made with ❤️ by Tanay Kedia

⬆ Back to Top

探索相关项目

加载中…