From a0a1648c941e1c2d96eb1fc72369a65096939c69 Mon Sep 17 00:00:00 2001 From: larabr <7375870+larabr@users.noreply.github.com> Date: Tue, 4 Nov 2025 14:14:05 +0100 Subject: [PATCH] CI: Linter: fix missing type info in tests Full dependency installation is needed for types of third party dependencies to be available to the linter. Without this, some typescript-eslint error would not get triggered in the CI. --- .github/workflows/tests.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c3f0e656..84d2e301 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -191,18 +191,9 @@ jobs: lint: name: ESLint runs-on: ubuntu-latest - needs: build steps: - uses: actions/checkout@v5 - uses: actions/setup-node@v6 - - run: npm ci --ignore-scripts # linter - - name: Retrieve cached folders - uses: actions/cache/restore@v4 - id: cache-full - with: - path: | - dist - test/lib - key: cache-${{ github.sha }} + - run: npm ci # cannot use `--ignore-scripts` since the linter also relies on type information from third-party lib imports in the tests - run: npm run lint