From 5fea13946a7f7336a01d7231c4644c3e3ee44873 Mon Sep 17 00:00:00 2001 From: Telokis Date: Sat, 28 Oct 2023 15:21:23 +0200 Subject: [PATCH] Add github action ensuring linting --- .github/workflows/code_quality.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/code_quality.yml diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml new file mode 100644 index 0000000..b05889f --- /dev/null +++ b/.github/workflows/code_quality.yml @@ -0,0 +1,17 @@ +name: Code Quality + +on: + - pull_request + - push + +jobs: + eslint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: npm ci + working-directory: node + - name: Run ESLint + run: npm run lint + working-directory: node