Skip to content

Commit

Permalink
test against different typescript versions as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dstarner committed May 2, 2023
1 parent 014516d commit b9c0c8c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,20 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [14.x, 15.x, 16.x, 18.x, 19.x, 20.x]
node-version: [18.x, 20.x]
ts-version: ['3.9', '4.1', '5.0']
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
- name: Node.js ${{ matrix.node-version }} / Typescript ${{ matrix.ts-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci

- name: Install Dependencies
run: npm ci

- name: Install TypeScript ${{ matrix.ts }}
run: npm install typescript@${{ matrix.ts-version }}

- run: npm run lint
- run: npm test

0 comments on commit b9c0c8c

Please sign in to comment.