Skip to content

Commit 87a973d

Browse files
committed
ci: add lint to checks
1 parent 8ed8401 commit 87a973d

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,16 @@ env:
1212
HUSKY: 0
1313

1414
jobs:
15-
ci:
16-
name: CI
15+
check:
16+
name: Run ${{ matrix.script }} code check
1717
runs-on: ubuntu-latest
1818
timeout-minutes: 15
1919

20+
strategy:
21+
fail-fast: true
22+
matrix:
23+
script: [format, lint]
24+
2025
steps:
2126
- name: Checkout repo
2227
uses: actions/checkout@v4
@@ -34,6 +39,6 @@ jobs:
3439
shell: bash
3540
run: pnpm install --frozen-lockfile
3641

37-
- name: Format
42+
- name: Run ${{ matrix.script }}
3843
run: |
39-
pnpm run format
44+
pnpm run ${{ matrix.script }}

0 commit comments

Comments
 (0)