From fd3c1142b7e23be7d3c98a32fbd2d900a893257b Mon Sep 17 00:00:00 2001 From: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com> Date: Tue, 10 Dec 2024 20:20:10 +0100 Subject: [PATCH] Add linter workflow --- .github/workflows/automated-tests.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/automated-tests.yaml diff --git a/.github/workflows/automated-tests.yaml b/.github/workflows/automated-tests.yaml new file mode 100644 index 0000000..78c28f2 --- /dev/null +++ b/.github/workflows/automated-tests.yaml @@ -0,0 +1,26 @@ +name: Automated Tests +on: + push: + branches: [master, develop] + pull_request: + branches: [master, develop] + +permissions: + contents: read + +jobs: + lint: + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm + - name: Install dependencies + run: npm ci + - name: Check linting + run: npm run lint