Skip to content

ci(release): scope build to tagged package and its workspace deps - #120

Closed
sirdeggen wants to merge 3 commits into
mainfrom
chore/release-yaml-scoped-build
Closed

ci(release): scope build to tagged package and its workspace deps#120
sirdeggen wants to merge 3 commits into
mainfrom
chore/release-yaml-scoped-build

Conversation

@sirdeggen

@sirdeggen sirdeggen commented May 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Resolve publish/build filter from tag before running build
  • Build only the tagged package plus its workspace dependencies (`./path...`)
  • Monorepo-wide `v*` tag still uses `...[origin/main]` for both build and publish

Why

Previously the release workflow built every package in the monorepo on every per-package tag push. That's slow and lets unrelated package build failures block a publish that doesn't depend on them. Scoping the build to the tagged package and its workspace deps cuts release time and isolates failures.

Test plan

  • CI green on this PR
  • Confirm pnpm filter syntax `./packages/...` resolves correctly on next release tag

Previously the release workflow built every package in the monorepo on every
tag push. Now we resolve the publish filter first, then build only the tagged
package plus its workspace dependencies (`./path...`). The monorepo-wide `v*`
tag still falls back to `...[origin/main]`, matching the publish filter.

This makes per-package releases significantly faster and avoids unrelated
package failures from blocking a publish.
@codecov

codecov Bot commented May 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

sirdeggen added 2 commits May 12, 2026 09:35
Signed-off-by: Deggen <d.kellenschwiler@bsvassociation.org>
Signed-off-by: Deggen <d.kellenschwiler@bsvassociation.org>
@sirdeggen
sirdeggen force-pushed the chore/release-yaml-scoped-build branch from 06130ba to 3074119 Compare May 12, 2026 15:02
@sonarqubecloud

Copy link
Copy Markdown

@sirdeggen sirdeggen closed this May 19, 2026
@sirdeggen
sirdeggen deleted the chore/release-yaml-scoped-build branch June 16, 2026 21:39
ty-everett added a commit that referenced this pull request Jul 25, 2026
Wave 2 of #324: close CodeQL service-boundary findings #90, #91, #92, and #112; add regression coverage and standard create-bsv-app LCOV collection. CodeQL #120 remains for the shared rate-limiting wave. No packages published.
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.

1 participant