trails/.github
Ullrich Schäfer f085b78fd7
Auto-dedupe lockfile on dependabot PRs
pnpm install after a dependabot bump keeps duplicate versions of
packages that happen to be pinned via overlapping semver ranges. For
singleton-ish libraries (i18next, react-i18next) that's a latent bug:
the server's module instance and the client's module instance each
hold their own state, and SSR output doesn't match CSR.

#272 ran into this with an i18next patch bump — the bumped version
stayed on some dep paths while other paths kept the old version. A
manual `pnpm dedupe` collapsed them and hydration worked again.

This workflow fires on every dependabot PR, runs `pnpm dedupe`, and
pushes the resulting lockfile update back to the PR branch so CI
runs against the deduped tree.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 11:59:33 +02:00
..
workflows Auto-dedupe lockfile on dependabot PRs 2026-04-19 11:59:33 +02:00
copilot-instructions.md Simplify copilot-instructions.md to point to CLAUDE.md instead of duplicating content 2026-03-29 12:41:30 +00:00
dependabot.yml Tighten dependabot ignore rules 2026-04-19 10:58:05 +02:00