👷 ci: Add lint and format checks to CI workflow

This commit is contained in:
2026-06-16 01:24:33 +07:00
parent 289b04cf1c
commit d9aeb7dd34
+28
View File
@@ -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: