From 74aa8dc53042cc51d3f2c02c9432dd00d1bca145 Mon Sep 17 00:00:00 2001 From: manaes Date: Mon, 25 Nov 2024 11:50:53 +0900 Subject: [PATCH 1/2] =?UTF-8?q?github=20action=20-=20workflows=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/develop-cd.yml | 27 +++++++++++++++++++++++++++ .github/workflows/product-cd.yml | 27 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 .github/workflows/develop-cd.yml create mode 100644 .github/workflows/product-cd.yml diff --git a/.github/workflows/develop-cd.yml b/.github/workflows/develop-cd.yml new file mode 100644 index 0000000..268df08 --- /dev/null +++ b/.github/workflows/develop-cd.yml @@ -0,0 +1,27 @@ +name: develop CD + +on: + push: + branches: ['develop'] + +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Git Checkout + uses: actions/checkout@v4.1.1 + + - uses: actions/setup-node@v3 + with: + node-version: 16 + + - name: Install dependencies + run: yarn install + + - name: Build next app + run: yarn build \ No newline at end of file diff --git a/.github/workflows/product-cd.yml b/.github/workflows/product-cd.yml new file mode 100644 index 0000000..2dbe408 --- /dev/null +++ b/.github/workflows/product-cd.yml @@ -0,0 +1,27 @@ +name: develop CD + +on: + push: + branches: ['main'] + +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Git Checkout + uses: actions/checkout@v4.1.1 + + - uses: actions/setup-node@v3 + with: + node-version: 16 + + - name: Install dependencies + run: yarn install + + - name: Build next app + run: yarn build \ No newline at end of file From d4f3826d9fa1a3568f14a5f373ba03ab8e0440ca Mon Sep 17 00:00:00 2001 From: manaes Date: Mon, 25 Nov 2024 11:52:29 +0900 Subject: [PATCH 2/2] =?UTF-8?q?workflows=20-=20node=20=EB=B2=84=EC=A0=84?= =?UTF-8?q?=20=EB=B3=80=EA=B2=BD=20(16=20->19)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/develop-cd.yml | 2 +- .github/workflows/product-cd.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/develop-cd.yml b/.github/workflows/develop-cd.yml index 268df08..429030c 100644 --- a/.github/workflows/develop-cd.yml +++ b/.github/workflows/develop-cd.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 19 - name: Install dependencies run: yarn install diff --git a/.github/workflows/product-cd.yml b/.github/workflows/product-cd.yml index 2dbe408..68c05d4 100644 --- a/.github/workflows/product-cd.yml +++ b/.github/workflows/product-cd.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 19 - name: Install dependencies run: yarn install