Skip to content

Fix endemic rendering and data validation #6

Fix endemic rendering and data validation

Fix endemic rendering and data validation #6

Workflow file for this run

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