fix(site): add astro check CI and reduce errors/hints (#1109)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Darius Cepulis
2026-04-22 10:18:05 -05:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 01c4c60848
commit c3984f74d1
52 changed files with 385 additions and 339 deletions
+36
View File
@@ -36,3 +36,39 @@ jobs:
- name: Run website tests
run: pnpm exec turbo run test --filter=site
astro-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Cache turbo build setup
uses: actions/cache@v5
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Build packages
run: pnpm build:packages
- name: Generate site content
run: cd site && pnpm api-docs && pnpm ejected-skins
- name: Astro check
run: cd site && pnpm astro check --minimumSeverity warning