Skip to content

Commit

Permalink
Add multi version TS checks
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed May 31, 2022
1 parent 7801148 commit 90a012f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Type Checks

on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main

permissions:
contents: read

jobs:
type-check:
uses: voxpelli/ghatemplates/.github/workflows/type-check.yml@main
with:
ts-versions: '4.5,4.6,4.7'
# Can add the "es2020,es2022.error,es2021.promise" once 4.5 isn't included
# ts-libs: 'es2020;esnext;es2020,es2022.error,es2021.promise'
ts-libs: 'es2020;esnext'

0 comments on commit 90a012f

Please sign in to comment.