From 043259560e65239dc636fc2139fa57e7b62c4777 Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Fri, 9 Aug 2024 15:19:48 +0200 Subject: [PATCH] Update lint script and action --- .github/workflows/ci.yml | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d66d6b0..5b609b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,5 +22,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' + - run: npm ci - - run: npx eslint . + - run: npm run lint + - run: npm run build diff --git a/package.json b/package.json index f7ca27d..abe598f 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "homepage": "https://github.com/garraflavatra/trmclr#readme", "scripts": { "build": "rm -rf dist && tsc && rollup index.mjs -f umd -n trmclr -o dist/index.cjs", - "lint": "eslint index.js" + "lint": "eslint index.mjs" }, "devDependencies": { "@garraflavatra/yeslint": "^1.2.0",