Type Checks, Published Types #864
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
name: Type Checks, Published Types | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: '14 5 * * 1,3,5' | |
permissions: | |
contents: read | |
jobs: | |
type-check: | |
uses: voxpelli/ghatemplates/.github/workflows/type-check.yml@main | |
with: | |
ts-prebuild-script: 'build' | |
ts-versions: ${{ github.event.schedule && 'next' || '4.5,4.6,4.7,4.8,4.9,5.0,next' }} | |
# 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' | |
ts-working-directory: 'test-published-types' |