From 6267db051e94a918c0026800eb0bbeb2ebacc45a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nj=C3=A5l=20Telst=C3=B8?= Date: Fri, 20 Oct 2023 10:39:50 +0200 Subject: [PATCH] Added eslint github action --- .github/workflows/integration.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/integration.yml diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml new file mode 100644 index 0000000..2d5fbea --- /dev/null +++ b/.github/workflows/integration.yml @@ -0,0 +1,14 @@ +name: frontend-integration +run-name: ${{ github.actor }} Frontend Integration + +on: [push] +jobs: + run-eslint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version: '18' + - run: npm install + - run: eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0