mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-11-23 22:15:52 +00:00
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:
parent
ede35e31a9
commit
a0a1648c94
11
.github/workflows/tests.yml
vendored
11
.github/workflows/tests.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user