# Site checks. Runs for site-only pushes, which ci.yml and admission.yml skip.
when:
- event: ["push", "pull_request"]
branch: ["main"]
paths:
- "deploy/site/**"
- "tests/*.mjs"
- ".tangled/workflows/site.yml"
- event: ["manual"]
engine: nixery
dependencies:
nixpkgs:
- nodejs
steps:
- name: stats history tests
command: |
node --test tests/rate_history.test.mjs