From 30dcce948d3823b1720576ce9cea1532f0acf070 Mon Sep 17 00:00:00 2001 From: jwford Date: Sun, 24 Mar 2024 13:21:25 -0400 Subject: [PATCH] test(lint): update lint workflow --- .github/workflows/lint.yml | 6 +++--- package.json | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 17a26e0..014fb57 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,13 +9,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Install Node v12 + - name: Install Node v20 uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 20 - name: Install dependencies run: npm ci - name: Run ESLint - run: npm test + run: npm lint diff --git a/package.json b/package.json index 1921069..3114956 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "build-clear": "rm -rf dist && tsc -p .", "dev": "tsc -p . && node dist/src/Steve.js", "dev-clear": "rm -rf dist && tsc -p . && node dist/src/Steve.js", + "lint": "eslint src --ext .ts", "start": "node dist/src/Steve.js" }, "repository": {