GitHub Actions Workflow

A CI workflow defining build and test steps on push.

Open in YAML Formatter

About this format

GitHub Actions workflows are written in YAML. They define event triggers and sequential jobs to run.

Example Data

name: CI
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Run tests
      run: npm test

When to use GitHub Actions Workflow

  • Continuous integration testing
  • Automated deployments
  • Code quality checks