Skip to content

Commit 2b780be

Browse files
committed
ci: add codeQuality job to run lint and format tasks
1 parent 2e225f7 commit 2b780be

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/CI.yml

+21
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,27 @@ on:
88
types: [opened, synchronize]
99

1010
jobs:
11+
codeQuality:
12+
name: Code quality
13+
needs: [build]
14+
runs-on: ubuntu-22.04
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
21+
cache: yarn
22+
23+
- name: Install dependencies
24+
run: yarn install --ignore-engines --frozen-lockfile
25+
26+
- name: Check format
27+
run: yarn format
28+
29+
- name: Lint
30+
run: yarn lint
31+
1132
build:
1233
strategy:
1334
matrix:

0 commit comments

Comments
 (0)