From 142cb9e89fb65d590ea3946919643bbee919400c Mon Sep 17 00:00:00 2001 From: scarf Date: Sun, 9 Jul 2023 16:45:56 +0900 Subject: [PATCH] =?UTF-8?q?ci(pnpm):=20=EC=BA=90=EC=8B=9C=20=EC=95=88?= =?UTF-8?q?=ED=95=98=EA=B8=B0=20(#568)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..5ac1131f --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,37 @@ +name: PR 테스트 + +on: + pull_request: + + +jobs: + deploy: + name: Test + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: setup node.js + uses: actions/setup-node@v3 + with: + node-version: 18.x + + - name: setup pnpm + run: | + corepack enable + corepack prepare pnpm@latest-8 --activate + pnpm config set store-dir .pnpm-store + + - name: install dependencies + working-directory: backend + run: pnpm install + + - name: test backend + working-directory: backend + run: pnpm test + + - name: build backend + working-directory: backend + run: pnpm build