From 2179d5e8af7557f53cbc3152ab9d9c193375c9a4 Mon Sep 17 00:00:00 2001 From: ethernet Date: Fri, 10 Jul 2026 14:21:52 -0400 Subject: [PATCH] ci: add eslint lint matrix to js-tests.yml Add a 'lint' job to the JS tests workflow that runs 'eslint --fix' across all discovered npm workspaces (same matrix as the check job). Fixable issues auto-correct and don't block; eslint exits non-zero only when un-fixable errors remain. Also fix duplicate 'needs: workspaces' in the check job. --- .github/workflows/js-tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/js-tests.yml b/.github/workflows/js-tests.yml index db08947b270c..7c3b69821d8c 100644 --- a/.github/workflows/js-tests.yml +++ b/.github/workflows/js-tests.yml @@ -30,8 +30,8 @@ jobs: check: name: Typecheck & Test - runs-on: ubuntu-latest needs: workspaces + runs-on: ubuntu-latest strategy: matrix: package: ${{ fromJson(needs.workspaces.outputs.packages) }} @@ -47,3 +47,4 @@ jobs: # --ignore-scripts: TS & tests don't need native deps command: npm ci --ignore-scripts - run: npm run --prefix ${{ matrix.package }} check + - run: npm run --prefix ${{ matrix.package }} fix