Skip to content

Commit a50b483

Browse files
committed
Run ESLint in CI
1 parent 7371ceb commit a50b483

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,18 @@ jobs:
176176
- name: Run clang-tidy
177177
run: clang-tidy-18 src/cxx.cc --warnings-as-errors=*
178178

179+
eslint:
180+
name: ESLint
181+
runs-on: ubuntu-latest
182+
if: github.event_name != 'pull_request'
183+
timeout-minutes: 45
184+
steps:
185+
- uses: actions/checkout@v4
186+
- run: npm install
187+
working-directory: book
188+
- run: npx eslint
189+
working-directory: book
190+
179191
outdated:
180192
name: Outdated
181193
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)