From 1886277b6ea560aac02c8161fafad12ea075725f Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Fri, 20 Jun 2025 23:28:41 +1200 Subject: [PATCH] Test: Add JavaScript linting tests to CI --- .github/workflows/tests.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0a440cd..ec61bd9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -36,9 +36,14 @@ jobs: with: node-version: 22 cache: 'npm' - - if: startsWith(matrix.os, 'ubuntu') == true + - name: Install JavaScript dependencies + if: startsWith(matrix.os, 'ubuntu') == true run: npm install - - if: startsWith(matrix.os, 'ubuntu') == true + - name: Run JavaScript linting + if: startsWith(matrix.os, 'ubuntu') == true + run: npm run lint + - name: Test JavaScript packaging + if: startsWith(matrix.os, 'ubuntu') == true run: npm run package # validate the swagger file