From b8abf152027d8906177a8597e6753146f492c089 Mon Sep 17 00:00:00 2001 From: rot1024 Date: Fri, 2 Aug 2024 17:45:05 +0900 Subject: [PATCH] ci: fix prettier check --- .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 6e64fe2..5fff61e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - name: ESLint run: npm run lint - name: Prettier - run: npm run prettier . --check + run: npm run check - name: Type check run: npm run typecheck - name: Test diff --git a/package.json b/package.json index f46d6bd..1d82bd3 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "test": "vitest", "lint": "eslint . --fix", "format": "prettier . --write", + "check": "prettier . --check", "typecheck": "tsc", "postinstall": "symlink-dir node_modules/.astro/.astrotion/static public/static" },