diff --git a/.github/workflows/automated-tests.yaml b/.github/workflows/automated-tests.yaml index 47217f7..b345ffb 100644 --- a/.github/workflows/automated-tests.yaml +++ b/.github/workflows/automated-tests.yaml @@ -23,4 +23,4 @@ jobs: - name: Install dependencies run: npm ci - name: Check linting - run: npm run lint + run: node --run lint diff --git a/README.md b/README.md index 75905c8..a5223e7 100644 --- a/README.md +++ b/README.md @@ -285,8 +285,8 @@ See also FAQ below. If you want to contribute to this project, pleases use the following commands to maintain code quality: - `npm install` - Install development dependencies for linting. -- `npm run lint` - Run linting checks. -- `npm run lint:fix` - Fix linting issues. Please run this before committing. +- `node --run lint` - Run linting checks. +- `node --run lint:fix` - Fix linting issues. Please run this before committing. [mm]: https://github.com/MagicMirrorOrg/MagicMirror [page indicator]: https://github.com/edward-shen/MMM-page-indicator diff --git a/package.json b/package.json index ef900d7..e539796 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "scripts": { "lint": "eslint", "lint:fix": "eslint --fix", - "test": "npm run lint" + "test": "node --run lint" }, "devDependencies": { "@eslint/js": "^9.27.0",