Skip to content

Commit

Permalink
Update ESLint action to run Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
vkoves committed Jan 8, 2025
1 parent 61009c9 commit 4636dd8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# More details at https://github.com/eslint/eslint
# and https://eslint.org

name: ESLint
name: ESLint & Prettier

on:
push:
Expand All @@ -14,7 +14,7 @@ on:

jobs:
eslint:
name: Run ESLint scanning
name: Run ESLint & Prettier
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -36,6 +36,9 @@ jobs:
run: yarn lint-ci
continue-on-error: true

- name: Run Prettier
run: yarn prettier . --check

- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
Expand Down

0 comments on commit 4636dd8

Please sign in to comment.