cal/.github/workflows/check-types.yml
2022-07-11 18:34:38 -06:00

25 lines
508 B
YAML

name: Check types
on:
pull_request:
branches:
- main
paths:
- "**.tsx?"
jobs:
check-types:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 2
- name: Use Node 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: "yarn"
- run: yarn --frozen-lockfile
- run: yarn type-check