From 4128cb3736bf7c404a95dc9e77bd4f025ba65d3f Mon Sep 17 00:00:00 2001 From: Joe Lencioni Date: Fri, 7 Jun 2024 14:54:24 -0500 Subject: [PATCH] Add Lint GitHub workflow This will help us avoid committing errors. --- .github/workflows/lint.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/lint.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 0000000..006647d --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,22 @@ +name: Lint + +on: [push] + +jobs: + run-linters: + name: Run linters + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 20 + + - name: Install dependencies + run: npm ci + + - name: Run ESLint + run: npm run eslint