mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #4909 from jellyfin/eslint-suggestions
Add eslint suggestions action
This commit is contained in:
commit
91e85751b9
1 changed files with 10 additions and 2 deletions
12
.github/workflows/quality.yml
vendored
12
.github/workflows/quality.yml
vendored
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue