Skip to content

Commit 0576f56

Browse files
authored
ci: Create Lint CI job (#2110)
1 parent c435272 commit 0576f56

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,20 @@ jobs:
3434
- run: npm ci
3535
- name: Check Docs
3636
run: npm run docs
37+
check-lint:
38+
name: Lint
39+
timeout-minutes: 15
40+
runs-on: ubuntu-latest
41+
steps:
42+
- uses: actions/checkout@v4
43+
- name: Use Node.js
44+
uses: actions/setup-node@v4
45+
with:
46+
cache: npm
47+
- name: Install dependencies
48+
run: npm ci
49+
- name: Lint
50+
run: npm run lint
3751
build:
3852
runs-on: ubuntu-latest
3953
timeout-minutes: 30
@@ -55,7 +69,6 @@ jobs:
5569
node-version: ${{ matrix.NODE_VERSION }}
5670
cache: npm
5771
- run: npm ci
58-
- run: npm run lint
5972
- run: npm test -- --maxWorkers=4
6073
- run: npm run test:mongodb
6174
env:

0 commit comments

Comments
 (0)