Github actions web
Skill a5c-ai/babysitter/library/specializations/web-development/skills/github-actions-web
GitHub Actions for web app CI/CD, testing, and deployment.From its SKILL.md
npx -y skills add a5c-ai/babysitter --skill github-actions-webAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.6 KB, 301 tokens by cl100k_base, as published. Nobody here has run it
GitHub Actions Web Skill
Expert assistance for CI/CD with GitHub Actions.
Capabilities
- Create CI/CD workflows
- Configure test automation
- Set up deployment pipelines
- Handle secrets
- Optimize workflow performance
Workflow
name: CI/CD
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run test
- run: npm run build
deploy:
needs: test
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
vercel-args: '--prod'
Target Processes
- ci-cd-setup
- automated-testing
- deployment-automation
What ships with it: 1 file
326 B alongside SKILL.md
- README.md326 B