From 891c26e92f7a9fc2f839ae1f04ff1a05a8cb4a03 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Wed, 21 Feb 2024 14:35:21 +0000 Subject: [PATCH] ci: fix regression of the commands (#10182) --- .github/workflows/ci.yml | 2 +- package.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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",