Skip to content

Test base PR for #4900 (93ab639fea8070d91db926f9db3c4f893c2dcee4) #5658

Test base PR for #4900 (93ab639fea8070d91db926f9db3c4f893c2dcee4)

Test base PR for #4900 (93ab639fea8070d91db926f9db3c4f893c2dcee4) #5658

Workflow file for this run

name: ESLint
on:
push:
branches: [main]
pull_request:
branches: [main, '[0-9]+-[0-9]+-*']
workflow_run:
workflows: ['Dependabot']
branches-ignore: ['workflows/tests/*']
types:
- completed
workflow_dispatch:
workflow_call:
jobs:
eslint:
name: ESLint
if: ${{ !startsWith(github.head_ref, 'workflows/tests/') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
check-latest: true
cache: yarn
- name: Install dependencies
run: yarn install
- uses: CatChen/eslint-suggestion-action@v4
with:
targets: 'src'
fail-check: ${{ github.event_name == 'workflow_call' || (github.event_name == 'push' && github.ref == 'refs/heads/main') }}