chore: git workflow수정 #13
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: Release | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| # 동일한 워크플로우가 동시에 실행되는 것을 방지 | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 # 전체 히스토리를 가져옴 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| cache: "npm" | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| - name: Create Release Pull Request | |
| uses: peter-evans/create-pull-request@v5 | |
| with: | |
| base: main | |
| branch: develop | |
| title: "🚀 Release" | |
| body: | | |
| Release PR | |
| - 버전 업데이트 및 변경사항 반영 | |
| commit-message: "chore: version packages" | |
| delete-branch: false | |
| labels: | | |
| release | |
| automated pr |