GitHub Actions Tutorial — Practice Projects
Chapter 15 — Practice Projects
The best way to learn GitHub Actions is by building real pipelines. This chapter contains five guided projects that combine concepts from earlier chapters into complete, production-style workflows.
Each project includes:
- A requirements overview
- The complete workflow YAML
- Explanation of every design decision
- Expected output and verification steps
Projects
1. Node.js CI Pipeline
Full CI with lint, test, build, and coverage — using matrix, caching, and artifacts.
2. Docker + GHCR Pipeline
Build, tag, and push multi-platform Docker images to GitHub Container Registry.
Read: Project — Docker + GHCR →
3. Multi-Environment Deploy
Staging → smoke test → production pipeline with approval gates and OIDC.
Read: Project — Multi-Env Deploy →
4. Reusable Workflow Library
Build an organization-wide shared workflow library with versioning.
Read: Project — Reusable Library →
5. Custom Action
Build, test, and publish a composite action to the GitHub Marketplace.
Read: Project — Custom Action →
Challenges
Additional challenges to extend the projects.
← Previous: Chapter 14: Troubleshooting
Next: Chapter 16: Next Steps →