0
Ci pipeline
GitHub Eylemleri için bir CI işlem hattı yapılandırması oluşturun.
yazan kuscubasiece·8 Eylül 2026
Kaynak: rohitg00/awesome-claude-code-toolkit · Apache-2.0
GitHub Eylemleri için bir CI işlem hattı yapılandırması oluşturun.
Kaynak: rohitg00/awesome-claude-code-toolkit · Apache-2.0
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/ci-pipeline-cc-toolkit/raw -o .claude/commands/ci-pipeline-cc-toolkit.mdHedef dosya: .claude/commands/ci-pipeline-cc-toolkit.md
Generate a CI pipeline configuration for GitHub Actions.
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run typecheck
test:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm test -- --coverage
- uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage/
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build
hashFiles for cache keys based on lock files.timeout-minutes: 15.concurrency to cancel superseded runs on the same branch.