Skip to content

docs(auto): daily note 2025-10-01; ensure cross-links #210

docs(auto): daily note 2025-10-01; ensure cross-links

docs(auto): daily note 2025-10-01; ensure cross-links #210

Workflow file for this run

name: CI
on:
push:
<<<<<<< HEAD

Check failure on line 5 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
=======
<<<<<<< HEAD
=======
branches: [ main, feat/**, fix/**, docs/**, chore/** ]
>>>>>>> origin/main
>>>>>>> origin/main
pull_request:
jobs:
node:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install deps
run: npm ci
<<<<<<< HEAD
- name: API health (offline)
run: |
DEV_NO_API=1 node backend/index.cjs & echo $! > api.pid
for i in {1..20}; do
if curl -fsS http://127.0.0.1:8790/health >/dev/null; then
curl -fsS http://127.0.0.1:8790/health | tee health.json; break
fi
sleep 0.3
done
kill $(cat api.pid)
- name: Run ESLint (npx ESLint v8)
run: npx -y eslint@8 .
continue-on-error: true
- name: Lint (if present)
run: npm run -s lint --if-present
- name: Test (if present)
run: npm run -s test --if-present
=======
- name: Run tests (node:test)
run: npm test
>>>>>>> origin/main
python:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
<<<<<<< HEAD
- name: Install deps (if requirements.txt)
run: |
if [ -f requirements.txt ]; then
python -m pip install --upgrade pip
pip install -r requirements.txt
fi
- name: Run pytest if tests are present
run: |
if ls -1 tests test_*.py 2>/dev/null | grep -q .; then
pip install pytest
PYTHONPATH=. pytest -q
else
echo "No python tests found; skipping"
fi
=======
- name: Sanity
run: python --version
>>>>>>> origin/main