Modern QA2026Hands-On Exercise — tiles
Log inJoin
10 / 48 · 16 CI/CD Pipelines · GitHub Actions: A Practical Example← prev⊞ allnext →☰ Read as one page

2.5Hands-On Exercise

  1. Fork a simple Node.js project (or create one with npm init)
  2. Add the test pipeline from this file to .github/workflows/test-pipeline.yml
  3. Simplify it: start with just the unit-tests job
  4. Push and watch the Actions tab -- verify the pipeline triggers and produces artifacts
  5. Add integration-tests with a Postgres service
  6. Add a matrix strategy for browser tests
  7. Intentionally break a test and verify artifacts are uploaded on failure
  8. Add path filtering and Slack notifications

Build the pipeline incrementally. Do not try to write the entire configuration at once -- you will spend more time debugging than building.