Skip to content

Commit

Permalink
Add schedule for testing next
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Jul 12, 2022
1 parent 7041486 commit 1192e86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
pull_request:
branches:
- main
schedule:
- cron: '14 5 * * 1,3,5'

permissions:
contents: read
Expand All @@ -17,7 +19,7 @@ jobs:
type-check:
uses: voxpelli/ghatemplates/.github/workflows/type-check.yml@main
with:
ts-versions: '4.5,4.6,4.7,next'
ts-versions: ${ github.event.schedule && 'next' || '4.5,4.6,4.7,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'

0 comments on commit 1192e86

Please sign in to comment.