WAAPI logo play and hidden easter eggs #49
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: links | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| link_checker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build with Astro | |
| # prebuild clones the software docs sources into vendor/; | |
| # postbuild runs Pagefind indexing. Output: './dist'. | |
| run: npm run build | |
| env: | |
| CI: true | |
| - name: Link Checker | |
| id: lychee | |
| uses: lycheeverse/lychee-action@v2 | |
| with: | |
| # --root-dir resolves root-relative links against the local build; | |
| # lychee.toml holds accept codes and exclusions (self, bot-blocked sites). | |
| args: --root-dir ${{ github.workspace }}/dist --config lychee.toml --no-progress 'dist/**/*.html' | |
| fail: true |