mirror of
https://github.com/withastro/astro.git
synced 2025-03-10 23:01:26 -05:00
ci: fix formatting (#10210)
This commit is contained in:
parent
7fe25158cd
commit
7fab7fd8c6
3 changed files with 4 additions and 7 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -97,9 +97,6 @@ jobs:
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: pnpm run lint
|
run: pnpm run lint
|
||||||
|
|
||||||
- name: Format Check
|
|
||||||
run: pnpm run format:ci
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: "Test: ${{ matrix.os }} (node@${{ matrix.NODE_VERSION }})"
|
name: "Test: ${{ matrix.os }} (node@${{ matrix.NODE_VERSION }})"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
2
.github/workflows/format.yml
vendored
2
.github/workflows/format.yml
vendored
|
@ -11,5 +11,5 @@ jobs:
|
||||||
if: github.repository_owner == 'withastro'
|
if: github.repository_owner == 'withastro'
|
||||||
uses: withastro/automation/.github/workflows/format.yml@main
|
uses: withastro/automation/.github/workflows/format.yml@main
|
||||||
with:
|
with:
|
||||||
command: "format:ci"
|
command: "format"
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
|
@ -14,11 +14,11 @@
|
||||||
"build:examples": "turbo run build --filter=\"@example/*\"",
|
"build:examples": "turbo run build --filter=\"@example/*\"",
|
||||||
"dev": "turbo run dev --concurrency=40 --parallel --filter=astro --filter=create-astro --filter=\"@astrojs/*\" --filter=\"@benchmark/*\"",
|
"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": "pnpm run format:code && pnpm run format:imports",
|
||||||
"format:ci": "pnpm run format:code:check && pnpm run format:imports:check",
|
"format:ci": "pnpm run format:code:ci && pnpm run format:imports:ci",
|
||||||
"format:code": "prettier -w \"**/*\" --ignore-unknown --cache",
|
"format:code": "prettier -w \"**/*\" --ignore-unknown --cache",
|
||||||
"format:code:check": "prettier -w \"**/*\" --ignore-unknown --cache --check",
|
"format:code:ci": "prettier -w \"**/*\" --ignore-unknown --cache --check",
|
||||||
"format:imports": "biome check --apply .",
|
"format:imports": "biome check --apply .",
|
||||||
"format:imports:check": "biome ci .",
|
"format:imports:ci": "biome ci .",
|
||||||
"test": "turbo run test --concurrency=1 --filter=astro --filter=create-astro --filter=\"@astrojs/*\"",
|
"test": "turbo run test --concurrency=1 --filter=astro --filter=create-astro --filter=\"@astrojs/*\"",
|
||||||
"test:match": "cd packages/astro && pnpm run test:match",
|
"test:match": "cd packages/astro && pnpm run test:match",
|
||||||
"test:unit": "cd packages/astro && pnpm run test:unit",
|
"test:unit": "cd packages/astro && pnpm run test:unit",
|
||||||
|
|
Loading…
Add table
Reference in a new issue