Skip to content

Commit 36dbaf8

Browse files
authored
tests: fix typescript validation test (#445)
1 parent e91bb32 commit 36dbaf8

File tree

3 files changed

+25
-6
lines changed

3 files changed

+25
-6
lines changed

.github/workflows/test.yml

+5
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
- run: exit 1
3333
if: ${{ needs.test_matrix.result != 'success' }}
3434
- uses: actions/checkout@v3
35+
- name: Use Node.js ${{ matrix.node_version }}
36+
uses: actions/setup-node@v3
37+
with:
38+
node-version: lts/*
39+
cache: npm
3540
- run: npm ci
3641
- run: npm run test:typescript
3742
if: ${{ always() }}

package-lock.json

+19-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"@sinonjs/fake-timers": "^8.0.0",
4343
"@types/fetch-mock": "^7.3.1",
4444
"@types/jest": "^29.0.0",
45+
"@types/node": "^18.11.18",
4546
"@types/sinonjs__fake-timers": "^8.0.0",
4647
"fetch-mock": "^9.0.0",
4748
"jest": "^29.0.0",

0 commit comments

Comments
 (0)