Sikau

Learn GitHub Actions

CI/CD with workflows: test every change, ship the green ones.

Automate your repository with GitHub Actions. Write workflow YAML, choose triggers, run real npm installs, lints and tests, read failing runs, use contexts, secrets and matrices, pass outputs and artifacts between jobs, and deploy safely from main and tags — on a simulated runner in your browser.

Intermediate · 12 lessons · about 7 hours · free

Start GitHub Actions free: run real code in your browserright here

Continue with Google

What you will learn

Unit 1: First workflows

CI/CD, workflow files, triggers, steps and actions.

  1. Day 1CI/CD and your first workflowWhat GitHub Actions does, and the shape of a workflow file.25 min
  2. Day 2Triggerspush, pull_request, branch and path filters, manual and scheduled runs.30 min
  3. Day 3Steps and actionscheckout, setup-node, run, working-directory and reading failures.30 min
  4. Day 4Project: CI for the café APIInstall, lint, test and build on every push and pull request.40 min

Unit 2: Smarter pipelines

Red builds, contexts and conditions, secrets, matrices.

  1. Day 5When the build goes redRead a failing run, fix the code, see it go green.30 min
  2. Day 6Variables, contexts and conditionsenv at three levels, github context, if, and $GITHUB_ENV.35 min
  3. Day 7Secrets and permissionsRepository secrets, masking, and least-privilege GITHUB_TOKEN.30 min
  4. Day 8Matrix buildsTest several Node versions at once with strategy.matrix.30 min

Unit 3: Shipping

Job outputs, caching and artifacts, gated deploys, a full pipeline.

  1. Day 9Job dependencies and outputsneeds, job outputs and $GITHUB_OUTPUT.35 min
  2. Day 10Caching and artifactsactions/cache for speed, artifacts to pass files between jobs.35 min
  3. Day 11Deploying safelyDeploy only from main or tags, environments and concurrency.35 min
  4. Day 12Capstone: The full pipelineMatrix tests, one build artifact, gated deploy with a secret.50 min

Before you start

These courses make GitHub Actions easier:

See all courses

Built with ❤️ by dibe.sh