GitHub Actions workflow

A GitHub Actions workflow is an automated process defined in a YAML file in the .github/workflows/ folder. It contains one or more jobs, each made of steps (steps) that run commands or reusable actions on a runner.

Example

name: CI
on: push
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: npm test

Related concepts

The whole glossary