From d9aeb7dd344f6c465998d75ef16693f5cd58dae8 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Tue, 16 Jun 2026 01:24:33 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20ci:=20Add=20lint=20and=20format?= =?UTF-8?q?=20checks=20to=20CI=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 730723c..f20d627 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,35 @@ on: pull_request: jobs: + check: + strategy: + fail-fast: false + matrix: + check: [lint, format] + + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v5 + + - name: Setup pnpm + uses: pnpm/action-setup@v5 + + - name: Setup Node.js + uses: actions/setup-node@v5 + with: + node-version: 22 + cache: pnpm + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Run ${{ matrix.check }} + run: pnpm ${{ matrix.check }} + build: + needs: check strategy: fail-fast: false matrix: