Merge pull request #11 from pluto-bssm/sidebar_vote_feature4 #5
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: upik_front | |
| on: | |
| push: | |
| paths: | |
| - "apps/admin/**" | |
| - "apps/client/**" | |
| pull_request: | |
| paths: | |
| - "apps/admin/**" | |
| - "apps/client/**" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18.x, 20.x, 22.x] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: 8 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'pnpm' | |
| - name: Prettier 코드 포맷 검사 | |
| run: pnpm format | |
| working-directory: ${{ github.workspace }} | |
| - name: Build admin app | |
| run: pnpm turbo run build --filter=apps/admin --continue | |
| working-directory: ${{ github.workspace }} | |
| - name: Build client app | |
| run: pnpm turbo run build --filter=apps/client --continue | |
| working-directory: ${{ github.workspace }} | |
| - name: 테스트 실행 | |
| run: pnpm test | |
| working-directory: ${{ github.workspace }} |