update: nodejs 설치 오류로 setup-node 이미지 버전 업그레이드 #4
This file contains 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: ON PR/Merge - Check Errors | Build | |
on: | |
pull_request: | |
branches: [ "develop", "main" ] | |
push: | |
branches: [ "develop", "main", "refactor-jdb-gitaction-workflow" ] | |
jobs: | |
merged: | |
if: github.event.pull_request.merged == true | |
name: Call workflow - Build Nextjs | |
uses: ./.github/workflows/front.yml | |
pr: | |
if: ${{ github.event.pull_request.merged == false && github.event == 'push'}} | |
name: Call workflow - Error Check | |
uses: ./.github/workflows/check_err.yml | |
pushed-1: | |
if: ${{ github.event.pull_request.merged == false && github.event != 'push'}} | |
name: Call workflow - Error Check | |
uses: ./.github/workflows/check_err.yml | |
pushed-2: | |
if: ${{ github.event.pull_request.merged == false && github.event != 'push'}} | |
name: Call workflow - Build Nextjs | |
uses: ./.github/workflows/front.yml | |
needs: pushed-1 |