ci-pipelinelisted
Install: claude install-skill SilviaAre95/wayworks
# CI Pipeline
Generate or review a CI pipeline per: **$ARGUMENTS** (platform defaults to github-actions, pipeline type defaults to full)
## Steps
1. **Analyze the project** — Determine:
- Build tool (npm, pnpm, turborepo)
- Test framework (vitest, jest, playwright)
- Lint tool (eslint, biome)
- Deploy target (Vercel, Railway, Docker)
- Monorepo? (turbo.json present)
2. **Generate pipeline config**:
### GitHub Actions (full pipeline)
```yaml
name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
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
test:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm test
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run build
deploy:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4