#108 added three tests in site/tests/theme-root.test.js and an npm test script. They pass locally, but CI never runs them.
The site job in .github/workflows/ci.yml currently runs:
- run: npm ci
- run: npm run lint
- run: npm run build
Add - run: npm test after lint and before the build. This keeps a future theme regression from merging with a green build.
Done when: all three tests run on a pull request, and a failing assertion fails the site job.
Confirmed on 8abd5cb: three local tests pass; the workflow has no site test step. This is separate from #109, which covers Rust desktop tests.
#108 added three tests in
site/tests/theme-root.test.jsand annpm testscript. They pass locally, but CI never runs them.The
sitejob in.github/workflows/ci.ymlcurrently runs:Add
- run: npm testafter lint and before the build. This keeps a future theme regression from merging with a green build.Done when: all three tests run on a pull request, and a failing assertion fails the site job.
Confirmed on
8abd5cb: three local tests pass; the workflow has no site test step. This is separate from #109, which covers Rust desktop tests.