Skip to content

Commit

Permalink
ci: add eslint to github code quality workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiazom committed Sep 17, 2024
1 parent 23ae012 commit 6766319
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Prettier Check
name: Code Quality Checks

on:
pull_request:
branches: [main, v3]

jobs:
prettier:
code_quality:
runs-on: ubuntu-latest

steps:
Expand All @@ -16,9 +16,12 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/workflows/prettier.yml') }}
key: ${{ runner.os }}-npm-${{ hashFiles('**/workflows/code-quality.yml') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Prettier Check
run: npx prettier --check .

- name: ESLint Check
run: npx eslint .

0 comments on commit 6766319

Please sign in to comment.