From b693ffe2f3b8696f1ed915fc668effd4b1614e68 Mon Sep 17 00:00:00 2001 From: typicode Date: Thu, 1 Jul 2021 07:17:14 +0200 Subject: [PATCH] chore: fix CI --- .github/workflows/node.js.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index b64aac71f..cb628b045 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -25,5 +25,5 @@ jobs: run: npm i -g npm@7 - run: npm ci --ignore-scripts - run: npm test - - run: npm exec eslint ../.. --ext .ts --ignore-path .gitignore + - run: npm run lint diff --git a/package.json b/package.json index 99ba71a1e..1ff5914f5 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "scripts": { "build": "tsc", "test": "sh test/all.sh", + "lint": "eslint src --ext .ts", "serve": "docsify serve docs", "prepare": "npm run build && node lib/bin install" },