From 34f0f0b9d8e42d3c8fa5edcdb7162d788f64197f Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Thu, 19 Dec 2024 17:06:40 +0800 Subject: [PATCH] ci: we can add lint & format check to the CI even the snapshots aren't comprehensive yet --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1703826c..32046f25 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,9 +52,10 @@ jobs: - pnpm --filter "\!*typescript*" build - pnpm --filter "*typescript*" build - pnpm --filter "*vitest*" test:unit + - pnpm --filter "*eslint*" lint --no-fix --max-warnings=0 + - pnpm --filter "*prettier*" format --write --check # FIXME: it's failing now # - pnpm --filter "*with-tests*" test:unit - # TODO: lint runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.os == 'windows-latest' }} env: