From 6ae756346f9ddb9dee55d21fa3b83a779c3d3e2d Mon Sep 17 00:00:00 2001 From: scarf Date: Thu, 3 Aug 2023 22:22:26 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20=ED=83=80=EC=9E=85=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EB=A9=94=EC=8B=9C=EC=A7=80=20=EC=83=81=EB=8C=80=EA=B2=BD?= =?UTF-8?q?=EB=A1=9C=20=EB=AA=85=EC=8B=9C=EC=A0=81=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=ED=95=B4=EC=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 참고: https://github.com/actions/runner/issues/659 --- .github/workflows/test.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 906c4daf..118a985b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,6 +3,10 @@ name: Test on: pull_request: +defaults: + run: + shell: bash + jobs: test: name: Test PR @@ -10,6 +14,8 @@ jobs: environment: development steps: + - uses: reviewdog/action-setup@v1 + - name: Checkout uses: actions/checkout@v3 @@ -38,14 +44,9 @@ jobs: - name: install dependencies run: | pnpm install --frozen-lockfile - pnpm --filter='@jiphyeonjeon-42/contracts' build + pnpm --filter='@jiphyeonjeon-42/contracts' - - if: always() - name: check types (backend) - working-directory: backend - run: pnpm check - - - if: always() - name: check types (contracts) - working-directory: contracts - run: pnpm check + - name: check types + if: always() + run: | + pnpm -r --no-bail --parallel run check | sed -r 's|(.*)( check: )(.*)|\1/\3|'