From a50b483dd0158f4d9cabe38648ff4b9f96dbb050 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 25 Jan 2025 14:53:29 -0800 Subject: [PATCH] Run ESLint in CI --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afd12b69c..7ef75c53a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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