Skip to content

Update eslint monorepo to v9.15.0 #949

Update eslint monorepo to v9.15.0

Update eslint monorepo to v9.15.0 #949

Workflow file for this run

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' }}