mirror of
https://github.com/screentinker/screentinker.git
synced 2026-08-14 06:16:20 -06:00
Two mistakes in the previous commit, both of which broke CI. The lockfile was not regenerated after adding puppeteer-core to devDependencies, and `npm ci` requires the two to agree — so every job that installs dependencies failed before running anything. The smoke test was also placed in test/, which I described as keeping it out of `npm test`. It does not: `node --test` globs that directory, so the runner picked it up regardless of intent, tried to drive a browser as a unit test, and failed. It now lives beside the server as smoke-ui.js, with a note saying why, so the next person does not put it back. Verified the way it should have been the first time: npm ci succeeds, native modules still load, npm test is 807/807 with no browser involved, and `npm run smoke` is 32/32 on its own. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Uaeo9MvzKoyXuN6ZsbhtkL |
||
|---|---|---|
| .. | ||
| config | ||
| db | ||
| lib | ||
| middleware | ||
| player | ||
| routes | ||
| scripts | ||
| services | ||
| test | ||
| ws | ||
| .gitignore | ||
| config.js | ||
| package-lock.json | ||
| package.json | ||
| server.js | ||
| smoke-ui.js | ||
| version.js | ||