Update eslint monorepo to v9.17.0 #957
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: Typecheck | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
tsc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: volta-cli/action@v4 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Setup reviewdog | |
uses: reviewdog/action-setup@v1 | |
with: | |
reviewdog_version: latest | |
- name: Typecheck | |
run: | | |
tsc --pretty false --noEmit | \ | |
reviewdog -f=tsc -reporter=github-pr-check -fail-on-error=true -filter-mode="${FILTER_MODE}" | |
env: | |
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
FILTER_MODE: ${{ (github.ref_name == 'master' && 'nofilter') || 'added' }} |