Skip to content

Commit 59da18b

Browse files
marcalexieiescapedcat
authored andcommitted
ci: add codeQuality job to run lint and format tasks (#3922)
1 parent df7f8df commit 59da18b

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
@@ -31,6 +31,27 @@ jobs:
3131
- name: Test
3232
run: yarn test
3333

34+
codeQuality:
35+
name: Code quality
36+
needs: [build]
37+
runs-on: ubuntu-22.04
38+
steps:
39+
- uses: actions/checkout@v4
40+
41+
- uses: actions/setup-node@v4
42+
with:
43+
node-version: 20
44+
cache: yarn
45+
46+
- name: Install dependencies
47+
run: yarn install --ignore-engines --frozen-lockfile
48+
49+
- name: Check format
50+
run: yarn format
51+
52+
- name: Lint
53+
run: yarn lint
54+
3455
nodeJsBaselineAptCompatibility:
3556
name: NodeJS installed from stock Ubuntu-LTS packages (not external sources)
3657
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)