diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 00000000..93d862c5 --- /dev/null +++ b/.github/workflows/linter.yml @@ -0,0 +1,28 @@ +name: Run Linter + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + linter: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: 20.14.0 + + - name: Install dependencies + run: npm install + + - name: Run linter + run: npm run linter \ No newline at end of file