← ClaudeAtlas

ci-pipeline-setuplisted

Set up CI/CD pipelines with GitHub Actions. Use when creating new projects, adding automation, or when manual verification becomes bottleneck. Covers lint, test, build, deploy automation.
aiskillstore/marketplace · ★ 329 · DevOps & Infrastructure · score 85
Install: claude install-skill aiskillstore/marketplace
# CI Pipeline Setup GitHub Actions를 이용한 CI/CD 파이프라인 설정 스킬입니다. ## Core Principle > **"verification-before-completion을 로컬에서만 하지 말고, 원격 저장소에서 자동으로 강제한다."** > **"머지 전에 CI가 통과해야 한다 = 시스템으로 강제"** ## 필수 파이프라인 단계 | 단계 | 목적 | 실패 시 | |------|------|---------| | **Lint** | 코드 스타일 일관성 | PR 머지 차단 | | **Type Check** | 타입 안전성 검증 | PR 머지 차단 | | **Test** | 기능 정확성 검증 | PR 머지 차단 | | **Build** | 빌드 가능 여부 확인 | PR 머지 차단 | | **Security** | 취약점 스캔 | PR 머지 차단 | ## 기본 CI 워크플로우 ### `.github/workflows/ci.yml` ```yaml name: CI on: push: branches: [main, develop] pull_request: branches: [main, develop] # 동시 실행 제어 (같은 PR에 새 커밋 시 이전 실행 취소) concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: # ================================ # 1. 코드 품질 검사 # ================================ lint: name: Lint & Format runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: '20' cache: 'npm' - name: Install dependencies run: npm ci - name: Run ESLint run: npm run lint - name: Check formatting run: npm run format:check # ================================ # 2. 타입 검사 # ================================ typecheck: name: Type Check runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4