---
name: configure-react-native-ci
description: Publishes React Native installable artifacts from GitHub Actions, with a simulator bundle job and an emulator package job. Use when the user wants those artifacts from CI, a workflow that uploads both, or a download through the gh CLI.
license: MIT
metadata:
  category: apps
  tags: "react-native"
  author: johnny-bravo
  version: "1.0"
  updated: "2026-11-09"
  status: published
  aliases: "github-actions, rn ci artifacts, gh run download"
  source_url: "https://github.com/callstackincubator/agent-skills/tree/59e9d17446a248b21d86f078fcd0bd2d36db1ca4/skills/github-actions"
  source_license: MIT
  copyright: "Copyright (c) 2026 Callstack Incubator"
  original_author: "Callstack Incubator (callstackincubator/agent-skills, github-actions)"
  modified: "Adapted by TheSkillVault: rewritten as a short CI artifact pass (simulator bundle, emulator package, upload, gh or API download); dropped the composite-action catalogue. Independent how-to, not official GitHub or React Native documentation. No workflow was run for this library."
  imported_on: "2026-11-09"
---

# Configure React Native CI artifacts

CI can build the installable and upload it. The workflow is the place for that, not a laptop.

## When to use
- A pull request should produce a downloadable React Native installable.
- Both phone platforms need an artifact from the same workflow.
- Someone needs to fetch that artifact with the gh CLI or the GitHub API.

## When not to use
- The need is a release-to-release diff. That is a separate skill.
- The need is a component check on one screen. That is a separate skill.
- The need is a general website pipeline. That is a separate skill.
- The product is not React Native.

## Steps
1. Add a workflow with two jobs. One produces the simulator bundle archive. The other produces the emulator package.
2. Upload each job's output as a named artifact. Write each name into the workflow so a later download can find it.
3. Run the workflow on pull requests and on a manual dispatch. Do not hide the artifact on only one of those.
4. Download with the gh CLI or the GitHub API, using the artifact name from the workflow.
5. Point the iOS job at the simulator bundle and the Android job at the emulator package. Do not swap those outputs.
6. This library did not run a workflow, a simulator, or an emulator. The steps describe the workflow file only.

## Gotchas
- Do not include passwords, tokens, or private signing material in the workflow file.
- An artifact name that changes every run breaks the download script. Keep the name fixed.
- A green workflow file is not a green build. Do not claim the artifact exists until a real run produced it.
- This is an independent how-to adapted from a Callstack Incubator skill. It is not official GitHub documentation, and no workflow was run for this library.

## Portability
If you use GitHub Actions, the two-job upload above is the path. If you use another CI host, keep the same split (simulator bundle and emulator package) and upload them as named files. If you use Expo's cloud builders, that is a different skill.

## Done when
- The workflow has a simulator-bundle job and an emulator-package job.
- Both artifacts have stable names.
- The download path uses the gh CLI or the GitHub API.

## Example prompt
"Add a GitHub Actions workflow that uploads a React Native simulator bundle and an emulator package, with stable artifact names. Do not run it."

---
Adapted from "github-actions" by Callstack Incubator (MIT, Copyright (c) 2026 Callstack Incubator). See LICENSE.txt.
