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.
This commit is contained in:
larabr 2025-11-04 14:14:05 +01:00
parent ede35e31a9
commit a0a1648c94
No known key found for this signature in database
GPG Key ID: 2A4BEC40729185DD

View File

@ -191,18 +191,9 @@ jobs:
lint: lint:
name: ESLint name: ESLint
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- uses: actions/setup-node@v6 - uses: actions/setup-node@v6
- run: npm ci --ignore-scripts # linter - run: npm ci # cannot use `--ignore-scripts` since the linter also relies on type information from third-party lib imports in the tests
- name: Retrieve cached folders
uses: actions/cache/restore@v4
id: cache-full
with:
path: |
dist
test/lib
key: cache-${{ github.sha }}
- run: npm run lint - run: npm run lint