From 869d064f844dc117c31e22a75fd48b559aa11bf4 Mon Sep 17 00:00:00 2001 From: "Xenos F." Date: Wed, 6 Nov 2024 02:31:33 +0800 Subject: [PATCH] Add linting CI action --- .github/workflows/lint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 0000000000..64c2a0da18 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,23 @@ +name: Static Analysis + +on: + push: + branches: + - main + pull_request: + branches: + - main +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: '0' + - uses: actions/setup-node@v4 + with: + node-version: 18 + - name: Install Dependencies + run: npm ci + - name: Run Lint Checks + run: npx eslint . \ No newline at end of file