feat: 9 confirmed updates -- Mpox Clade I rename, reference+surveilla… #10
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 data.json | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Check for committed symlinks | |
| run: | | |
| SYMLINKS=$(find . -not -path './.git/*' -type l) | |
| if [ -n "$SYMLINKS" ]; then | |
| echo "❌ Symlinks found in repo — Cloudflare Pages will fail to build:" | |
| echo "$SYMLINKS" | |
| exit 1 | |
| fi | |
| echo "✓ No symlinks" | |
| - name: Validate data.json | |
| run: node validate.js | |
| - name: Run geometry and matching tests | |
| run: npm test |