From 0026c45fe04d1debfa4b7a82cc4327ffa9f5ff05 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 23 Feb 2023 08:23:55 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20swc=E3=81=AB=E3=81=97=E3=81=9F=E3=81=9F?= =?UTF-8?q?=E3=82=81typecheck=E3=81=AF=E5=88=A5=E9=80=94=E5=AE=9F=E6=96=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lint.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5b1f1de4fe..9b089edd57 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -54,3 +54,30 @@ jobs: - run: corepack enable - run: pnpm i --frozen-lockfile - run: pnpm --filter ${{ matrix.workspace }} run ${{ matrix.lint }} + + typecheck: + needs: [pnpm_install] + runs-on: ubuntu-latest + continue-on-error: true + strategy: + matrix: + workspace: + - backend + typecheck: + - typecheck + steps: + - uses: actions/checkout@v3.3.0 + with: + fetch-depth: 0 + submodules: true + - uses: pnpm/action-setup@v2 + with: + version: 7 + run_install: false + - uses: actions/setup-node@v3.6.0 + with: + node-version: 18.x + cache: 'pnpm' + - run: corepack enable + - run: pnpm i --frozen-lockfile + - run: pnpm --filter ${{ matrix.workspace }} run ${{ matrix.typecheck }}