Skip to content

Commit 46c3ada

Browse files
committed
ci: add lint to checks
1 parent 9ee652b commit 46c3ada

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,15 @@ 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
18-
timeout-minutes: 15
18+
timeout-minutes: 20
19+
20+
strategy:
21+
fail-fast: true
22+
matrix:
23+
script: [format, lint]
1924

2025
steps:
2126
- name: Checkout repo
@@ -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)