0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

ci: use ci command (#12167)

This commit is contained in:
Emanuele Stoppa 2024-10-09 10:11:41 +01:00 committed by GitHub
parent 8e500f2f96
commit 22c70a2bdf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -95,7 +95,7 @@ jobs:
run: pnpm run build run: pnpm run build
- name: Lint - name: Lint
run: pnpm run lint run: pnpm run lint:ci
test: test:
name: "Test: ${{ matrix.os }} (node@${{ matrix.NODE_VERSION }})" name: "Test: ${{ matrix.os }} (node@${{ matrix.NODE_VERSION }})"

View file

@ -36,6 +36,7 @@
"test:e2e:hosts": "turbo run test:hosted", "test:e2e:hosts": "turbo run test:hosted",
"benchmark": "astro-benchmark", "benchmark": "astro-benchmark",
"lint": "biome lint && eslint . --report-unused-disable-directives", "lint": "biome lint && eslint . --report-unused-disable-directives",
"lint:ci": "biome ci --formatter-enabled=false --organize-imports-enabled=false --reporter=github && eslint . --report-unused-disable-directives",
"lint:fix": "biome lint --write --unsafe", "lint:fix": "biome lint --write --unsafe",
"version": "changeset version && node ./scripts/deps/update-example-versions.js && pnpm install --no-frozen-lockfile && pnpm run format", "version": "changeset version && node ./scripts/deps/update-example-versions.js && pnpm install --no-frozen-lockfile && pnpm run format",
"preinstall": "npx only-allow pnpm" "preinstall": "npx only-allow pnpm"