Skip to content

Update typescript-eslint monorepo to v8.18.2 #960

Update typescript-eslint monorepo to v8.18.2

Update typescript-eslint monorepo to v8.18.2 #960

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