cicd-pipeline
oleh gitgoodordietrying
Data & AnalyticsRingkasan
Create, debug, and manage CI/CD pipelines with GitHub.
Deskripsi
Apa yang Dilakukan Skill Ini
Covers GitHub Actions workflow creation and management for automated testing, deployment, and release pipelines. Handles workflow syntax, matrix builds, secrets, caching, and debugging failing runs. Works across Node.js, Python, Go, and Rust projects.
Combines workflow generation, secrets management via the gh CLI, and live debugging patterns in one skill rather than requiring separate references for each concern.
Kapan Menggunakannya
- Run tests automatically on every pull request
- Deploy to staging when pushing to the staging branch
- Publish an npm package when a GitHub release is created
- Build and push a Docker image to a container registry
- Debug a failing CI job by SSHing into the runner
Contoh Alur Kerja
User asks: set up CI for my Node.js project that runs tests on every PR
- 1
Creates .github/workflows/ci.yml with push and pull_request triggers targeting main
- 2
Configures actions/setup-node@v4 with node-version 20 and npm caching
- 3
Adds steps for npm ci, npm test, and npm run lint
- 4
Explains how to verify the workflow triggers by checking branch filter and default branch placement
A working ci.yml file committed to .github/workflows/ that runs the test suite on every push and pull request to main
Persyaratan
- GitHub account
- GitHub repository with Actions enabled
Instalasi
clawhub install gitgoodordietrying/cicd-pipelineJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.