From 5865bfac96d9ee47b0ce428d6e75a8cb7fd11697 Mon Sep 17 00:00:00 2001 From: gauthier-th Date: Tue, 25 Jun 2024 16:42:50 +0200 Subject: [PATCH] ci: ci: try to fix format checker --- .github/workflows/ci.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8375a21dc..bd7baea34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: - name: Lint run: pnpm lint - name: Formatting - run: pnpm format:check --ignore-path .prettierignore + run: pnpm format:check - name: Build run: pnpm build diff --git a/package.json b/package.json index b4e991ca8..570fe6aaf 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "migration:create": "ts-node -r tsconfig-paths/register --project server/tsconfig.json ./node_modules/typeorm/cli.js migration:create -d server/datasource.ts", "migration:run": "ts-node -r tsconfig-paths/register --project server/tsconfig.json ./node_modules/typeorm/cli.js migration:run -d server/datasource.ts", "format": "prettier --loglevel warn --write --cache .", - "format:check": "prettier --check --cache .", + "format:check": "prettier --check --cache . --ignore-path .prettierignore", "typecheck": "pnpm typecheck:server && pnpm typecheck:client", "typecheck:server": "tsc --project server/tsconfig.json --noEmit", "typecheck:client": "tsc --noEmit",