Skip to content

Project hygiene additions #23

Project hygiene additions

Project hygiene additions #23

Workflow file for this run

name: Compatible Typescript Versions
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
typescript-version: [4.2, 4.3, 4.4, 4.5, 4.6, 4.7, 4.8, 4.9, 5.0]
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- name: Use Node.js 16.x
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1.4.6
with:
node-version: 16.x
- run: npm ci
- run: npm run build
- run: npm install typescript@${{ matrix.typescript-version }}
- run: npm run test