---
id: sm-expo-cicd-workflows
name: "expo-cicd-workflows"
url: https://skills.yangsir.net/skill/sm-expo-cicd-workflows
author: expo
domain: ai-ci-cd-deployment
tags: ["expo", "ci/cd", "github-actions", "mobile-devops", "automated-testing"]
install_count: 28500
rating: 4.60 (596 reviews)
github: https://github.com/expo/skills
---

# expo-cicd-workflows

> 针对Expo项目的CI/CD工作流，提供一系列AI代理技能，优化开发运维流程，加速发布周期。

**Stats**: 28,500 installs · 4.6/5 (596 reviews)

## Before / After 对比

### Expo项目CI/CD工作流自动化部署

## Readme

# expo-cicd-workflows

# EAS Workflows Skill

Help developers write and edit EAS CI/CD workflow YAML files.

## Reference Documentation

Fetch these resources before generating or validating workflow files. Use the fetch script (implemented using Node.js) in this skill's `scripts/` directory; it caches responses using ETags for efficiency:

```
# Fetch resources
node {baseDir}/scripts/fetch.js <url>

```

- 

**JSON Schema** — [https://api.expo.dev/v2/workflows/schema](https://api.expo.dev/v2/workflows/schema)

It is NECESSARY to fetch this schema

- Source of truth for validation

- All job types and their required/optional parameters

- Trigger types and configurations

- Runner types, VM images, and all enums

- 

**Syntax Documentation** — [https://raw.githubusercontent.com/expo/expo/refs/heads/main/docs/pages/eas/workflows/syntax.mdx](https://raw.githubusercontent.com/expo/expo/refs/heads/main/docs/pages/eas/workflows/syntax.mdx)

Overview of workflow YAML syntax

- Examples and English explanations

- Expression syntax and contexts

- 

**Pre-packaged Jobs** — [https://raw.githubusercontent.com/expo/expo/refs/heads/main/docs/pages/eas/workflows/pre-packaged-jobs.mdx](https://raw.githubusercontent.com/expo/expo/refs/heads/main/docs/pages/eas/workflows/pre-packaged-jobs.mdx)

Documentation for supported pre-packaged job types

- Job-specific parameters and outputs

Do not rely on memorized values; these resources evolve as new features are added.

## Workflow File Location

Workflows live in `.eas/workflows/*.yml` (or `.yaml`).

## Top-Level Structure

A workflow file has these top-level keys:

- `name` — Display name for the workflow

- `on` — Triggers that start the workflow (at least one required)

- `jobs` — Job definitions (required)

- `defaults` — Shared defaults for all jobs

- `concurrency` — Control parallel workflow runs

Consult the schema for the full specification of each section.

## Expressions

Use `${{ }}` syntax for dynamic values. The schema defines available contexts:

- `github.*` — GitHub repository and event information

- `inputs.*` — Values from `workflow_dispatch` inputs

- `needs.*` — Outputs and status from dependent jobs

- `jobs.*` — Job outputs (alternative syntax)

- `steps.*` — Step outputs within custom jobs

- `workflow.*` — Workflow metadata

## Generating Workflows

When generating or editing workflows:

- Fetch the schema to get current job types, parameters, and allowed values

- Validate that required fields are present for each job type

- Verify job references in `needs` and `after` exist in the workflow

- Check that expressions reference valid contexts and outputs

- Ensure `if` conditions respect the schema's length constraints

## Validation

After generating or editing a workflow file, validate it against the schema:

```
# Install dependencies if missing
[ -d "{baseDir}/scripts/node_modules" ] || npm install --prefix {baseDir}/scripts

node {baseDir}/scripts/validate.js <workflow.yml> [workflow2.yml ...]

```

The validator fetches the latest schema and checks the YAML structure. Fix any reported errors before considering the workflow complete.

## Answering Questions

When users ask about available options (job types, triggers, runner types, etc.), fetch the schema and derive the answer from it rather than relying on potentially outdated information.
Weekly Installs10.1KRepository[expo/skills](https://github.com/expo/skills)GitHub Stars1.5KFirst SeenJan 19, 2026Security Audits[Gen Agent Trust HubPass](/expo/skills/expo-cicd-workflows/security/agent-trust-hub)[SocketPass](/expo/skills/expo-cicd-workflows/security/socket)[SnykWarn](/expo/skills/expo-cicd-workflows/security/snyk)Installed ongithub-copilot6.8Kopencode6.7Kcodex6.5Kcursor6.4Kgemini-cli6.3Kclaude-code6.2K

---
*Source: https://skills.yangsir.net/skill/sm-expo-cicd-workflows*
*Markdown mirror: https://skills.yangsir.net/api/skill/sm-expo-cicd-workflows/markdown*