Docs: xdr migration guide corrections #246
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docs build | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Install Node (22.x) | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: "22.x" | |
| cache: pnpm | |
| cache-dependency-path: pnpm-lock.yaml | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Install Dependencies | |
| run: pnpm install --frozen-lockfile --network-concurrency 1 | |
| - name: Cache Astro build | |
| uses: actions/cache@v6 | |
| with: | |
| path: .astro | |
| key: astro-${{ hashFiles('astro.config.mjs', 'pnpm-lock.yaml') }} | |
| - name: Check guide snippet markers | |
| run: pnpm docs:snippets:check | |
| - name: Build reference docs | |
| run: pnpm docs:reference | |
| - name: Build llms.txt bundles | |
| run: pnpm docs:llms | |
| - name: Verify generated docs are up to date | |
| run: git diff --exit-code -- docs/index.md docs/reference/ | |
| - name: Generate robots.txt from config | |
| run: pnpm docs:robots | |
| - name: Generate .htaccess from config (Apache hosts only) | |
| run: pnpm docs:htaccess | |
| - name: Build Starlight site | |
| run: pnpm docs:site |