From f49b7efa17e1a4d42a61c1eeedbe86e483d97e18 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Fri, 10 May 2024 16:27:03 -0400 Subject: [PATCH] [chore] Run Linters on PR via GHA --- .github/workflows/lint.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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 00000000..d0b431d2 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,21 @@ +name: Run Linters + +on: [pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 18 + + - name: Install dependencies + run: npm install + + - name: Run linters + run: npm run lint