Replace HTML fixtures with live-fetching tests plus inline-HTML unit … #1
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: Tests | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| test: | |
| 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: Validate manifest.json | |
| run: node -e "JSON.parse(require('fs').readFileSync('manifest.json'))" | |
| - name: Run offline extraction tests | |
| run: npm run test:offline | |
| - name: Run live tests against real event pages | |
| run: npm run test:live |