Skip to content

Commit

Permalink
ci: add test with older TypeScript version
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Feb 22, 2024
1 parent a13f35f commit 67fe1b0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
strategy:
matrix:
node-version:
- 14
- 20

steps:
Expand All @@ -31,5 +32,11 @@ jobs:
- name: Install dependencies
run: npm ci

# the "override" keyword was added in typescript@4.5.0
# else, users can go down to typescript@3.8.x ("import type")
- name: Install TypeScript 4.5
run: npm i typescript@4.5
if: ${{ matrix.node-version == '14' }}

- name: Run tests
run: npm test

0 comments on commit 67fe1b0

Please sign in to comment.