guide2 min read

GitHub Actions Guide

Set up CI/CD with GitHub Actions: test, build, and deploy automatically.

GitHub Actions runs workflows on events (push, pull request, schedule). Create .github/workflows/ci.yml: trigger on push, run npm install, npm test, npm build. Add deployment: on success, deploy to Vercel/Cloudflare/Netlify. Key concepts: workflows (YAML files), jobs (parallel steps), steps (sequential commands), actions (reusable packages). Free for public repos, 2000 minutes/month for private repos.