Skip to content

Commit 92c4c67

Browse files
committed
ci: add codeQuality task to run lint and format task
1 parent 2e225f7 commit 92c4c67

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/CI.yml

+19
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,25 @@ on:
88
types: [opened, synchronize]
99

1010
jobs:
11+
codeQuality:
12+
name: Code quality
13+
runs-on: ubuntu-22.04
14+
steps:
15+
- name: Install dependencies
16+
run: yarn install --ignore-engines --frozen-lockfile
17+
18+
- name: Build packages
19+
run: yarn build
20+
21+
- name: Check format
22+
run: yarn format
23+
24+
- name: Lint
25+
run: yarn lint
26+
1127
build:
28+
name: Build
29+
needs: [codeQuality]
1230
strategy:
1331
matrix:
1432
os: [ubuntu-22.04, windows-2022]
@@ -33,6 +51,7 @@ jobs:
3351

3452
nodeJsBaselineAptCompatibility:
3553
name: NodeJS installed from stock Ubuntu-LTS packages (not external sources)
54+
needs: [codeQuality]
3655
runs-on: ubuntu-22.04
3756
container:
3857
image: 'ubuntu:24.04'

0 commit comments

Comments
 (0)