diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 113138fc..f30b29af 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,4 +26,7 @@ jobs: run: npm ci - name: Build React project - run: npm run build \ No newline at end of file + run: npm run build + + - name: Run linter + run: npm run lint \ No newline at end of file diff --git a/package.json b/package.json index 20b7a26b..e491a42a 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,8 @@ "postbuild": "cp build/index.html build/404.html", "test": "react-scripts test", "eject": "react-scripts eject", - "format": "npx prettier --write ." + "format": "npx prettier --write .", + "lint": "eslint src" }, "eslintConfig": { "extends": [