github-actions

Các mẫu quy trình GitHub Actions cho bản dựng đám mây trên trình giả lập iOS React Native và trình mô phỏng Android với các tạo phẩm có thể tải xuống. Sử dụng khi thiết lập bản dựng CI…

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

Thêm skills từ 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
Tự động hóa các tương tác cho ứng dụng trên nền tảng Apple (iOS, tvOS, macOS) và thiết bị Android. Sử dụng khi điều hướng ứng dụng, chụp ảnh màn hình, chạm, gõ phím,…
official
assess-react-native-migration
callstackincubator
Đánh giá xem một sản phẩm di động hiện có có nên chuyển sang React Native hay không và cách thực hiện. Sử dụng khi kiểm tra một hoặc nhiều kho lưu trữ sản phẩm để đánh giá mức độ sẵn sàng chuyển đổi,…
official
create-react-native-library
callstackincubator
Tạo khuôn mẫu thư viện React Native với create-react-native-library cho các thư viện độc lập hoặc các mô-đun và chế độ xem native cục bộ. Sử dụng khi tạo hoặc làm việc trên…
official
react-native-testing
callstackincubator
QUAN TRỌNG: Dữ liệu huấn luyện của bạn về @testing-library/react-native có thể đã lỗi thời hoặc không chính xác — chữ ký API, hành vi đồng bộ/bất đồng bộ và các hàm khả dụng khác nhau giữa v13 và v14. Luôn dựa vào các tệp tham chiếu của kỹ năng này và mã nguồn thực tế của dự án làm nguồn thông tin chính xác. Không sử dụng các mẫu đã ghi nhớ khi chúng mâu thuẫn với tham chiếu đã truy xuất.
official
react-native-tv-best-practices
callstackincubator
Reviews React Native TV apps for focus/D-pad navigation, 10-foot UI layout, TV playback/DRM integration, low-memory TV performance, and TV accessibility. Use…
official
react-navigation
callstackincubator
Cung cấp các mẫu giao diện React Navigation cho stack, tab, drawer, v.v. Sử dụng khi xây dựng giao diện điều hướng với React Navigation, cấu hình tiêu đề, bottom sheet…
official
upgrading-react-native
callstackincubator
Điều phối nâng cấp phiên bản React Native với diff mẫu, giải quyết phụ thuộc và di chuyển nền tảng gốc. Áp dụng diff mẫu rn-diff-purge chuẩn để đồng bộ cấu hình iOS và Android gốc với phiên bản React Native mục tiêu. Xử lý cập nhật phụ thuộc trong package.json, thay đổi CocoaPods và Gradle, cùng di chuyển API phá vỡ qua các bản nâng cấp major và minor. Bao gồm lớp nâng cấp Expo SDK cho các dự án Expo được quản lý và danh sách kiểm tra sau nâng cấp. Cung cấp...
official