Interview Prep/Git & GitHub/GitHub features, history rewriting and scale

What does a GitHub Actions workflow look like at a basic level?

BeginnerConceptGitHub features, history rewriting and scale
Answer

YAML in .github/workflows/ with triggers (on), jobs, and steps that either run commands or call actions. Jobs run in parallel on runners by default and can depend on each other via needs.

name: ci
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: npm ci && npm test
All Git & GitHub questions Roadmap: Git & GitHub

More on GitHub features, history rewriting and scale