github-actions

รูปแบบเวิร์กโฟลว์ GitHub Actions สำหรับการสร้างระบบคลาวด์ของ iOS simulator และ Android emulator สำหรับ React Native พร้อมอาร์ติแฟกต์ที่ดาวน์โหลดได้ ใช้เมื่อตั้งค่า CI build…

npx skills add https://github.com/callstackincubator/agent-skills --skill github-actions

GitHub Actions Build Artifacts

Overview

Reusable GitHub Actions patterns to build React Native apps for iOS simulators and Android emulators in the cloud, then publish artifacts retrievable via gh CLI or GitHub API.

When to Apply

Use this skill when:

  • Creating CI workflows that build React Native simulator/emulator artifacts.
  • Uploading iOS simulator and Android emulator installables from PRs or manual dispatch runs.
  • Replacing local-only mobile builds with downloadable CI artifacts.
  • Needing stable artifact IDs/names for scripted retrieval with gh or REST API.

Quick Reference

  1. Add composite actions from gha-ios-composite-action.md and gha-android-composite-action.md.
  2. Wire them into .github/workflows/mobile-build.yml from gha-workflow-and-downloads.md.
  3. Upload with actions/upload-artifact@v4 and capture artifact-id output.
  4. Download with gh run download or GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}.

References

FileDescription
gha-ios-composite-action.mdComposite action.yml for iOS simulator .app.tar.gz builds and artifact upload
gha-android-composite-action.mdComposite action.yml for Android emulator .apk builds and artifact upload
gha-workflow-and-downloads.mdEnd-to-end workflow wiring plus gh and REST download commands

Problem -> Skill Mapping

ProblemStart With
Need CI iOS simulator .app.tar.gz artifactgha-ios-composite-action.md
Need CI Android emulator .apk artifactgha-android-composite-action.md
Need one workflow to trigger both platform jobsgha-workflow-and-downloads.md
Need scripted artifact downloadgha-workflow-and-downloads.md

Source Inspiration

Skills เพิ่มเติมจาก callstackincubator

react-devtools
callstackincubator
React DevTools CLI for AI agents. Use when the user asks you to debug a React or React Native app at runtime, inspect component props/state/hooks, diagnose…
official
agent-device
callstackincubator
Automates interactions for Apple-platform apps (iOS, tvOS, macOS) and Android devices. Use when navigating apps, taking snapshots/screenshots, tapping, typing,…
official
assess-react-native-migration
callstackincubator
ประเมินว่าผลิตภัณฑ์มือถือที่มีอยู่ควรย้ายไปใช้ React Native หรือไม่และอย่างไร ใช้เมื่อตรวจสอบหนึ่งหรือหลาย repository ของผลิตภัณฑ์เพื่อความพร้อมในการย้ายข้อมูล…
official
create-react-native-library
callstackincubator
สร้างไลบรารี React Native ด้วย create-react-native-library สำหรับไลบรารีแบบสแตนด์อโลนหรือโมดูลและวิวเนทีฟในเครื่อง ใช้เมื่อสร้างหรือทำงานกับ…
official
react-native-testing
callstackincubator
สำคัญ: ข้อมูลการฝึกของคุณเกี่ยวกับ @testing-library/react-native อาจล้าสมัยหรือไม่ถูกต้อง — ลายเซ็น API, พฤติกรรมแบบซิงค์/อะซิงค์ และฟังก์ชันที่มีอยู่แตกต่างกันระหว่าง v13 และ v14 ให้ยึดตามไฟล์อ้างอิงของสกิลนี้และซอร์สโค้ดจริงของโปรเจกต์เป็นแหล่งความจริงเสมอ อย่าถอยกลับไปใช้รูปแบบที่จำได้เมื่อมันขัดแย้งกับข้อมูลอ้างอิงที่ดึงมา
official
react-native-tv-best-practices
callstackincubator
ตรวจสอบแอป React Native TV สำหรับการนำทางด้วยโฟกัส/D-pad, เค้าโครง UI ระยะ 10 ฟุต, การรวมระบบการเล่น/DRM สำหรับทีวี, ประสิทธิภาพของทีวีในหน่วยความจำต่ำ, และการเข้าถึงสำหรับทีวี ใช้…
official
react-navigation
callstackincubator
ให้รูปแบบ UI ของ React Navigation สำหรับสแต็ก แท็บ และดรอว์เวอร์ ใช้เมื่อสร้าง UI การนำทางด้วย React Navigation การกำหนดค่าส่วนหัว แผ่นด้านล่าง...
official
upgrading-react-native
callstackincubator
จัดการอัปเกรดเวอร์ชัน React Native ด้วย template diffs, การแก้ไข dependency, และการย้ายแพลตฟอร์ม native ใช้ template diffs จาก rn-diff-purge ที่เป็นมาตรฐานเพื่อปรับการกำหนดค่า iOS และ Android native ให้ตรงกับเวอร์ชัน React Native เป้าหมาย จัดการการอัปเดต dependency ใน package.json, การเปลี่ยนแปลง CocoaPods และ Gradle, และการย้าย API ที่มีการเปลี่ยนแปลงใน major และ minor version รวมถึงเลเยอร์การอัปเกรด Expo SDK สำหรับโปรเจกต์ managed Expo และรายการตรวจสอบหลังการอัปเกรด ให้...
official