Add Jack and Diane living narrative #64
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: Pull Request | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| name: Verify generated site | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6, node24 | |
| - name: Setup Node | |
| uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5, node24 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build, validate, and test | |
| run: | | |
| set -o pipefail | |
| npm run check 2>&1 | tee check.log | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Preserve check failure log | |
| if: failure() | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7, node24 | |
| with: | |
| name: check-failure-${{ github.sha }} | |
| path: check.log | |
| retention-days: 7 | |
| if-no-files-found: error | |
| - name: Install Chromium release dependency | |
| run: npx playwright install --with-deps chromium | |
| - name: Run browser and accessibility release checks | |
| run: npm run test:browser |