From fc77241ef5e593e8d6e530598667b848c5d7fe22 Mon Sep 17 00:00:00 2001 From: Lucas Hicks <42800160+lucashicks1@users.noreply.github.com> Date: Mon, 16 Oct 2023 17:40:31 +1000 Subject: [PATCH] Create linter for ui --- .github/workflows/node.js.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..73e38fe --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,19 @@ +# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs + +name: Linter + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + eslint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: stefanoeb/eslint-action@1.0.2 + with: + files: build/ui-display