ordinarthur 0b90d9cdb5
Some checks failed
Build & Deploy / build-and-deploy (push) Failing after 11s
fix(docker): materialize @anydrop/shared as real dir, not workspace symlink
pnpm's workspace symlink (server/node_modules/@anydrop/shared → ../../../shared)
works locally but breaks on the Gitea Actions runner. TSC resolves the symlink
but cannot read through it, yielding TS2307 on "@anydrop/shared".

Fix: after building shared, copy its package.json + dist into
{server,web}/node_modules/@anydrop/shared as a plain directory before running
the dependent build. Module resolution becomes filesystem-local, independent
of BuildKit layer semantics or storage driver symlink handling.
2026-04-20 10:05:47 +02:00
..