test(e2e): basic/threshold 케이스 보강 #552
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: Run tests | |
| on: [push, pull_request] | |
| jobs: | |
| unit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| # 최신 노드 버전 사용 | |
| node-version: "22.x" | |
| cache: "pnpm" | |
| cache-dependency-path: "**/pnpm-lock.yaml" | |
| - name: install | |
| run: pnpm install | |
| - name: install browsers | |
| run: pnpm --filter @test/unit exec playwright install --with-deps chromium | |
| - name: run unit test | |
| run: pnpm test | |
| plugins: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| # 최신 노드 버전 사용 | |
| node-version: "22.x" | |
| cache: "pnpm" | |
| cache-dependency-path: "**/pnpm-lock.yaml" | |
| - name: install | |
| run: pnpm install | |
| - name: run plugins test | |
| run: pnpm test:plugins | |
| cfc: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| # 최신 노드 버전 사용 | |
| node-version: "22.x" | |
| cache: "pnpm" | |
| cache-dependency-path: "**/pnpm-lock.yaml" | |
| - name: install | |
| run: pnpm install | |
| - name: run cfc test | |
| run: pnpm test:cfc | |
| e2e: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22.x" | |
| cache: "pnpm" | |
| cache-dependency-path: "**/pnpm-lock.yaml" | |
| - name: install | |
| run: pnpm install | |
| - name: install browsers | |
| run: pnpm --filter @test/e2e exec playwright install --with-deps chromium | |
| - name: run e2e | |
| run: pnpm test:e2e |