-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: test with older TypeScript version
- Loading branch information
1 parent
a13f35f
commit 005d546
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ jobs: | |
strategy: | ||
matrix: | ||
node-version: | ||
- 14 | ||
- 20 | ||
|
||
steps: | ||
|
@@ -31,5 +32,11 @@ jobs: | |
- name: Install dependencies | ||
run: npm ci | ||
|
||
# the "override" keyword was added in [email protected] | ||
# else, users can go down to [email protected] ("import type") | ||
- name: Install TypeScript 4.5 | ||
run: npm i [email protected] | ||
if: ${{ matrix.node-version == '14' }} | ||
|
||
- name: Run tests | ||
run: npm test |