Skip to content

Commit

Permalink
ci: add lint to checks
Browse files Browse the repository at this point in the history
  • Loading branch information
marcalexiei committed Dec 14, 2024
1 parent 8ed8401 commit 87a973d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit 87a973d

Please sign in to comment.