cicd-pipeline
bởi gitgoodordietrying
Data & AnalyticsTóm tắt
Create, debug, and manage CI/CD pipelines with GitHub.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Yêu cầu
- GitHub account
- GitHub repository with Actions enabled
Cài đặt
clawhub install gitgoodordietrying/cicd-pipelineChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.