Add eslint suggestions action

This commit is contained in:
Bill Thornton 2023-10-23 00:51:02 -04:00
parent 4e4686da16
commit 3c98e525fa

View file

@ -53,8 +53,16 @@ jobs:
- name: Install Node.js dependencies
run: npm ci --no-audit
- name: Run eslint
run: npm run lint
- name: Run eslint (changed)
if: ${{ github.repository == 'jellyfin/jellyfin-web' }}
uses: CatChen/eslint-suggestion-action@d43938d6a379bc9a53c9c6d307e2d43bff0536be # v3.0.2
with:
github-token: ${{ secrets.JF_BOT_TOKEN }}
- name: Run eslint (all)
if: always()
run: npx eslint --quiet "."
run-stylelint-css:
name: Run stylelint (css)