From fb2acb3b5091441db0c2c011eaa4f531efdcceff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Soulas?= Date: Thu, 11 Jul 2024 16:26:40 +0200 Subject: [PATCH] ci: add ci job to run eslint on api code --- .github/workflows/lint.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000..d8748d47c --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,17 @@ +name: Lint +on: [ push ] + +jobs: + eslint-reva-api: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: 20.x + cache: "npm" + - name: Installing dependencies + run: npm ci + - name: Running ESLint + run: npm run eslint -w reva-api \ No newline at end of file