Skip to content

Commit

Permalink
Run ESLint in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 25, 2025
1 parent 7371ceb commit a50b483
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,18 @@ jobs:
- name: Run clang-tidy
run: clang-tidy-18 src/cxx.cc --warnings-as-errors=*

eslint:
name: ESLint
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- run: npm install
working-directory: book
- run: npx eslint
working-directory: book

outdated:
name: Outdated
runs-on: ubuntu-latest
Expand Down

0 comments on commit a50b483

Please sign in to comment.