From 87a973d0b811af0d0d19aebab199c4ada98d5e2c Mon Sep 17 00:00:00 2001 From: Marco Pasqualetti Date: Sat, 14 Dec 2024 10:13:03 +0100 Subject: [PATCH] ci: add lint to checks --- .github/workflows/ci.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da1ee780..7b0e12aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,11 +12,16 @@ env: HUSKY: 0 jobs: - ci: - name: CI + check: + name: Run ${{ matrix.script }} code check runs-on: ubuntu-latest timeout-minutes: 15 + strategy: + fail-fast: true + matrix: + script: [format, lint] + steps: - name: Checkout repo uses: actions/checkout@v4 @@ -34,6 +39,6 @@ jobs: shell: bash run: pnpm install --frozen-lockfile - - name: Format + - name: Run ${{ matrix.script }} run: | - pnpm run format + pnpm run ${{ matrix.script }}