fix: repair clipped HTML comment; add page structure checks to CI #2
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: Validate question bank | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| - name: Validate the sample bank against the exam config | |
| run: node tools/validate-questions.js data/questions.js config/exam.js | |
| - name: Verify the app has no remote dependencies | |
| run: node tools/check-offline.js | |
| - name: Verify page structure and script load order | |
| run: node tools/check-pages.js |