From d83779034ef9f2dd8c9ab2ea89061232e3829d0b Mon Sep 17 00:00:00 2001 From: Mathias Oterhals Myklebust Date: Tue, 17 Sep 2024 12:12:17 +0200 Subject: [PATCH] ci: add eslint to github code quality workflow --- .github/workflows/{prettier.yml => code-quality.yml} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) rename .github/workflows/{prettier.yml => code-quality.yml} (79%) diff --git a/.github/workflows/prettier.yml b/.github/workflows/code-quality.yml similarity index 79% rename from .github/workflows/prettier.yml rename to .github/workflows/code-quality.yml index cadae0a72..0adce9daf 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/code-quality.yml @@ -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: @@ -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: eslint .