From 89684a6c0bc8c32e5712d56c5545736fd29d4cc2 Mon Sep 17 00:00:00 2001 From: John-peterson-coinbase <98187317+John-peterson-coinbase@users.noreply.github.com> Date: Fri, 10 May 2024 16:42:05 -0400 Subject: [PATCH] implementing gha linting --- .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 0000000..d0b431d --- /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