From 5d3eb02c2a5d90663079277325d9d30314d8e171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Glawaty?= Date: Wed, 19 Jun 2024 04:32:46 +0200 Subject: [PATCH] Added GH Action `coding-style.yml` --- .github/workflows/coding-style.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/coding-style.yml diff --git a/.github/workflows/coding-style.yml b/.github/workflows/coding-style.yml new file mode 100644 index 0000000..c998b1d --- /dev/null +++ b/.github/workflows/coding-style.yml @@ -0,0 +1,30 @@ +name: Coding style + +on: + push: + branches: + - main + tags: + - v* + pull_request: + branches: + - main + +jobs: + eslint: + name: Eslint + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup node + uses: actions/setup-node@v3 + with: + node-version: 20 + + - name: Install dependencies + run: npm install + + - name: Eslint + run: npm run eslint