[REFACTOR] 랜딩페이지 내용 업데이트 & Button children 누락 일괄 수정 #839
Workflow file for this run
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: Client CI | |
| on: | |
| push: | |
| branches: [main, develop] | |
| paths: | |
| - 'client/**' | |
| - '.github/workflows/dev-client-ci.yml' | |
| pull_request: | |
| branches: [main, develop] | |
| paths: | |
| - 'client/**' | |
| - '.github/workflows/dev-client-ci.yml' | |
| defaults: | |
| run: | |
| working-directory: ./client | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| cache: 'pnpm' | |
| cache-dependency-path: './client/pnpm-lock.yaml' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Install Cypress binary | |
| run: pnpm exec cypress install | |
| - name: TypeScript type check | |
| run: pnpm exec tsc --noEmit | |
| - name: ESLint check | |
| run: pnpm run lint | |
| - name: Prettier format check | |
| run: pnpm run format:check | |
| - name: Run tests | |
| run: pnpm run test --coverage | |
| - name: Run Cypress tests | |
| uses: cypress-io/github-action@v6 | |
| with: | |
| working-directory: ./client | |
| install: false | |
| build: pnpm run build | |
| start: pnpm run dev | |
| wait-on: 'http://localhost:3000' | |
| wait-on-timeout: 60 | |
| browser: chrome | |
| record: false | |
| - name: Build application | |
| run: pnpm run build | |
| - name: Upload test coverage | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| file: ./client/coverage/lcov.info | |
| flags: client | |
| name: client-coverage | |
| fail_ci_if_error: false |