Skip to content

Typecheck

Typecheck #125

Workflow file for this run

name: Typecheck
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "31 1,12 * * *"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: typecheck-${{ github.ref }}
cancel-in-progress: true
jobs:
type-check:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: Install dependencies
run: npm install
- name: Run TypeScript Type Check
run: npm run type-check --if-present