diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 94c9a41..06890db 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -3,7 +3,7 @@ # More details at https://github.com/eslint/eslint # and https://eslint.org -name: ESLint +name: ESLint & Prettier on: push: @@ -14,7 +14,7 @@ on: jobs: eslint: - name: Run ESLint scanning + name: Run ESLint & Prettier runs-on: ubuntu-latest permissions: contents: read @@ -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: