๐ chore: .gitignore์ .agent ์ถ๊ฐ #79
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ์ํฌํ๋ก์ฐ์ ์ด๋ฆ | |
| name: CI Pipeline | |
| # ์ํฌํ๋ก์ฐ ์คํ ์กฐ๊ฑด | |
| on: | |
| pull_request: | |
| branches: ["main", "develop"] | |
| push: | |
| branches: ["feature/*"] | |
| # ์คํ๋ ์์ (Job)๋ค | |
| jobs: | |
| # ๋น๋ ๋ฐ ํ ์คํธ๋ฅผ ๋ด๋นํ๋ ๋ฉ์ธ ์์ | |
| build: | |
| # ๊ฐ์ ํ๊ฒฝ ์ง์ | |
| runs-on: ubuntu-latest | |
| # ์์ ๋จ๊ณ(Step)๋ค | |
| steps: | |
| # 0. ๋ ํฌ์งํ ๋ฆฌ ์ฝ๋ ์ฒดํฌ์์ | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| # 1. pnpm ์ค์น (๋ชจ๋ ธ๋ ํฌ ํ์) | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| # 2. Node.js ํ๊ฒฝ ์ค์ | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "20" | |
| cache: "pnpm" | |
| # 4. ์์กด์ฑ ์ค์น (2๋จ๊ณ Dependency Install) | |
| # - CI ํ๊ฒฝ์์๋ 'npm ci'๋ฅผ ์ฌ์ฉํ๋ ๊ฒ์ด ๋ ๋น ๋ฅด๊ณ ์์ ์ . | |
| - name: Install Dependencies | |
| run: pnpm install --frozen-lockfile | |
| # 5. ๋น๋ ์ ํจ์ฑ ๊ฒ์ฌ (3๋จ๊ณ Build Validation) | |
| - name: Run Build | |
| run: pnpm turbo run build --filter=editor | |
| # run: npm run build |