From de526d4b28fb29e7501b4a9ec2a76cc82c014bc5 Mon Sep 17 00:00:00 2001 From: SangHoon Lee <50488780+bbearcookie@users.noreply.github.com> Date: Thu, 14 Dec 2023 03:58:03 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20build-test=20=EC=9B=8C=ED=81=AC?= =?UTF-8?q?=ED=94=8C=EB=A1=9C=20=EC=B6=94=EA=B0=80=20(#219)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: build-test 워크플로 추가 * chore: 빌드 테스트 대상 브랜치 main으로 변경 --- .github/workflows/build-test.yml | 43 ++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/build-test.yml diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml new file mode 100644 index 0000000..812b8cf --- /dev/null +++ b/.github/workflows/build-test.yml @@ -0,0 +1,43 @@ +name: Build Test + +on: + pull_request: + branches: ['main'] + +jobs: + build-react: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: 18.x + + - run: yarn + - run: yarn web build + build-express: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: 18.x + + - run: yarn + - run: yarn slack build + build-api-docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: 18.x + + - run: yarn + - run: yarn api-docs build