diff --git a/.github/workflows/Ci.yml b/.github/workflows/Ci.yml index e08dcdb44..12093c273 100644 --- a/.github/workflows/Ci.yml +++ b/.github/workflows/Ci.yml @@ -25,7 +25,7 @@ jobs: run: npm run test - name: 💄 Code style - run: npm run style + run: npm run check-style codespell: name: Check for spelling errors diff --git a/package.json b/package.json index 2dd45beac..9ce6f3cb0 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "test": "vitest run", "test-watch": "vitest", "style": "npx prettier . --write", + "check-style": "npx prettier . --check", "prepare": "husky install" }, "author": "TheAlgorithms",