diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88d5aaa4a7b0..acca6a0c119b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,7 +98,7 @@ jobs: run: pnpm run lint - name: Format Check - run: pnpm run format --check + run: pnpm run format:ci test: name: "Test: ${{ matrix.os }} (node@${{ matrix.NODE_VERSION }})" diff --git a/package.json b/package.json index b12affb58558..83cef9f4dba7 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,11 @@ "build:examples": "turbo run build --filter=\"@example/*\"", "dev": "turbo run dev --concurrency=40 --parallel --filter=astro --filter=create-astro --filter=\"@astrojs/*\" --filter=\"@benchmark/*\"", "format": "pnpm run format:code && pnpm run format:imports", - "format:ci": "pnpm run format:code && pnpm run format:imports", + "format:ci": "pnpm run format:code:check && pnpm run format:imports:check", "format:code": "prettier -w \"**/*\" --ignore-unknown --cache", + "format:code:check": "prettier -w \"**/*\" --ignore-unknown --cache --check", "format:imports": "biome check --apply .", + "format:imports:check": "biome ci .", "test": "turbo run test --concurrency=1 --filter=astro --filter=create-astro --filter=\"@astrojs/*\"", "test:match": "cd packages/astro && pnpm run test:match", "test:unit": "cd packages/astro && pnpm run test:unit",