cicd-pipeline
بواسطة gitgoodordietrying
Data & Analyticsموجز
Create, debug, and manage CI/CD pipelines with GitHub.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
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
المتطلبات
- GitHub account
- GitHub repository with Actions enabled
التثبيت
clawhub install gitgoodordietrying/cicd-pipelineشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.