fix: 여행 북마크 타입 네임 변경 #222
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: Test code on pull request | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| name: Code Test | |
| runs-on: ubuntu-latest | |
| env: | |
| NEXT_PUBLIC_CLIENT_URL: ${{ secrets.NEXT_PUBLIC_CLIENT_URL }} | |
| NEXT_PUBLIC_BASE_URL: ${{ secrets.NEXT_PUBLIC_BASE_URL }} | |
| strategy: | |
| matrix: | |
| node-version: [22.x] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Cache node modules | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/.npm | |
| node_modules | |
| .next/cache | |
| key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node-${{ matrix.node-version }}- | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Check TypeScript | |
| run: npm run type-check | |
| - name: Run ESLint | |
| run: npm run lint | |
| - name: Build Project | |
| timeout-minutes: 15 | |
| run: npm run build | |
| - name: Run Tests | |
| run: npm test -- --test-concurrency=4 |