fix: rebuild Connected Concepts/Articles for ALL pages from actual bo… #47
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: Build & Verify | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22 | |
| cache: 'npm' | |
| - run: npm ci | |
| - run: npx astro build | |
| - name: Verify output | |
| run: | | |
| echo "Articles built: $(find dist/articles -name 'index.html' | wc -l)" | |
| echo "Concepts built: $(find dist/concepts -name 'index.html' | wc -l)" | |
| echo "Tag pages built: $(find dist/tags -name 'index.html' | wc -l)" | |
| test -f dist/index.html | |
| test -f dist/pagefind/pagefind-entry.json |