From 0b9fad86ba60b4f76e4d68a27fa222e55ca65fdb Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Sat, 28 Oct 2023 00:50:16 +0200 Subject: [PATCH] fix: CI code style checking --- .github/workflows/Ci.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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",