Skip to content

Task/composer required package installs update #987

Task/composer required package installs update

Task/composer required package installs update #987

Workflow file for this run

name: 'ESLint'
on:
push:
branches:
- main
pull_request:
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --prefer-offline
- uses: reviewdog/action-eslint@v1
with:
fail_on_error: true
github_token: ${{ secrets.GITHUB_TOKEN }}
eslint_flags: 'wp-content/{*themes,plugins*}/core/**/*.js'