Skip to content

fix: include src in preview build artifacts - #291

Merged
Mrtenz merged 2 commits into
mainfrom
mrtenz/include-src-in-preview-artifacts
Sep 14, 2026
Merged

Mrtenz merged 2 commits into
mainfrom
mrtenz/include-src-in-preview-artifacts

Conversation

@Mrtenz

@Mrtenz Mrtenz commented Sep 14, 2026

Copy link
Copy Markdown
Member

The publish-preview workflow excluded src/ from the uploaded build artifacts for monorepos. This broke packages that don't have a build step and publish their src/ directory directly — those packages would be uploaded without their source files and published empty.


Note

Low Risk
CI artifact glob change only; no runtime, auth, or publish logic changes.

Overview
Monorepo preview uploads no longer exclude ./packages/*/src/ from the artifact path in publish-preview.yml.

Previously, stripping src meant packages that ship source directly (no build step) were published as empty previews. The upload still excludes node_modules, tests, and test files.

Reviewed by Cursor Bugbot for commit d6d4967. Bugbot is set up for automated code reviews on this repo. Configure here.

Needed for packages that don't have a build step, where src/ is the
published output.
@Mrtenz
Mrtenz marked this pull request as ready for review September 14, 2026 09:16
@Mrtenz
Mrtenz merged commit d879593 into main Sep 14, 2026
10 checks passed
@Mrtenz
Mrtenz deleted the mrtenz/include-src-in-preview-artifacts branch September 14, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants