fix: 사이트맵에 포스트, 시리즈, 포트폴리오 URL 생성 로직 추가 및 우선순위 조정 #72
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: CI/CD Pipeline | |
| on: | |
| push: | |
| branches: [ dev ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| ci: | |
| name: Continuous Integration | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '18' | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: 8 | |
| run_install: false | |
| - name: Install dependencies | |
| run: pnpm install | |
| # TypeScript 타입 체크 | |
| - name: Type check | |
| run: pnpm type-check | |
| # ESLint 검사 | |
| - name: Lint check | |
| run: pnpm lint | |
| # cd: | |
| # name: Continuous Deployment | |
| # needs: ci | |
| # runs-on: ubuntu-latest | |
| # if: github.event_name == 'push' && github.ref == 'refs/heads/dev' | |
| # | |
| # steps: | |
| # - name: Deploy to Vercel | |
| # uses: amondnet/vercel-action@v25 | |
| # with: | |
| # vercel-token: ${{ secrets.VERCEL_TOKEN }} | |
| # vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} | |
| # vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} | |
| # working-directory: ./ | |
| # vercel-args: '--prod' |