Skip to content

Test base PR for #2843 (84c1e4a8eb41e7beefaefdb66655236fad0d5bae) #2451

Test base PR for #2843 (84c1e4a8eb41e7beefaefdb66655236fad0d5bae)

Test base PR for #2843 (84c1e4a8eb41e7beefaefdb66655236fad0d5bae) #2451

Workflow file for this run

name: ESLint
on:
push:
branches: [main]
pull_request:
branches: [main, '[0-9]+-[0-9]+-*']
workflow_run:
workflows: ['Dependabot']
types:
- completed
workflow_dispatch:
workflow_call:
inputs:
ref:
description: 'Checkout a different git ref instead of the SHA from the GitHub event.'
required: false
type: string
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 == 'push' && github.ref == 'refs/heads/main' }}