GitHub Actions Workflow
Create efficient CI/CD pipelines using GitHub Actions with proper caching, matrix builds, and deployment strategies.
Usage
Describe your CI/CD needs and this skill will generate a complete GitHub Actions workflow file.
Examples
- "Create a workflow that runs tests on every PR and deploys on merge to main"
- "Build a matrix workflow that tests across Node 18, 20, and 22"
- "Set up a release workflow that publishes to npm on tag push"
Guidelines
- Cache dependencies to speed up workflow runs
- Use environment secrets for sensitive values
- Pin action versions with SHA hashes for security
- Set appropriate timeout limits for each job
- Use concurrency groups to cancel outdated runs