EAS Workflows is a service provided by EAS to streamline your React Native CI/CD pipeline. Automate builds, submissions, and updates effortlessly.

Hello World Workflow

name: Hello World
 
on:
  push:
    branches: ["*"]
 
jobs:
  Hello World:
    steps:
      - run: echo "Hello, World"

Running Your Workflow

After creating your workflow file, there are two ways to run it:

1. Automatic Triggers

Push your changes to GitHub and the workflow will run automatically based on the triggers you defined in the on section. For example, with our Hello World workflow above, it will run on every push to any branch.

2. Manual Execution

You can also run workflows manually using the EAS CLI:

npx eas-cli@latest workflow:run .eas/workflows/hello-world.yml

Resources

Is this lesson useful?