ci: only reinstall frontend dependencies when they change
The deps target ran npm ci every time, so a CI job that builds the web UI
and then runs the frontend unit tests installed the same packages twice.
Make deps depend on npm's installed lockfile marker, so npm ci only runs
again when package.json or package-lock.json is newer than the install.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>