Files
Benjamin Taylor a72052c457 fix(ci): pack workspace as tarball to bypass upload-artifact enumeration
upload-artifact's path filters are post-walk: even with !**/node_modules/**
exclusions, the action still descends into every node_modules and stats
every file (~6.4M for this monorepo with pnpm's .pnpm/ symlink farm)
before applying negations. That enumeration is the actual bottleneck —
the Upload workspace step runs 10+ minutes with the filters alone.

Replace the filtered upload with: rm -rf the heavy dirs (node_modules,
.nx, .turbo, .next), tar the workspace into a single file, upload that.
The publish job tar -xzf's it before configuring git credentials and
continues unchanged. Single-file upload skips upload-artifact's per-file
overhead entirely.

Re-applies the work from worktree-prerelease-tar-pack against the
single-workflow layout introduced by #5071.
2026-05-28 08:55:32 -05:00
..