Skip to content

Commit

Permalink
ci: Add typescript test jobs for its older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed May 29, 2022
1 parent 7e9b489 commit d63d48d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/nodejs.yml
Expand Up @@ -39,3 +39,22 @@ jobs:
with: { node-version: 16.x }
- run: npm ci
- run: npm run lint

typescript:
runs-on: ubuntu-latest

strategy:
matrix:
ts-version: ['4.0', '4.2', '4.4', '4.6']

steps:
- uses: actions/checkout@v2
with: { submodules: true }
- name: Use Node.js
uses: actions/setup-node@v1
with: { node-version: 16.x }
- run: npm ci
- run: npm install --no-save typescript@${{ matrix.ts-version }}
- run: npm run test:types
- run: npm run build:node
- run: npm run test:dist:types

0 comments on commit d63d48d

Please sign in to comment.