Skip to content

fix: move preview.png into assets/ directory #2

fix: move preview.png into assets/ directory

fix: move preview.png into assets/ directory #2

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Run Scoring Engine Tests
run: node tests/scoring.test.js
- name: Run Challenge Registry Validation
run: node tests/challenges.test.js
- name: Check JS Syntax
run: node --check js/app.js
- name: Check HTML Syntax
run: |
# Basic well-formedness check via xmllint if available, otherwise skip
if command -v xmllint &> /dev/null; then
xmllint --html --noout index.html 2>/dev/null || true
else
echo "xmllint not available, skipping HTML lint"
fi