Skip to content

CI: cut redundant builds and make tag releases atomic - #192

Merged
valentinozegna merged 1 commit into
mainfrom
chore/simplify-release-cycle
Aug 28, 2026
Merged

CI: cut redundant builds and make tag releases atomic#192
valentinozegna merged 1 commit into
mainfrom
chore/simplify-release-cycle

Conversation

@valentinozegna

Copy link
Copy Markdown
Contributor

Summary

  • run one required CI workflow per pull request and cancel superseded runs
  • make version tags call that same CI before packaging or publishing
  • publish the exact CI-built npm tarball, then build/sign binaries in one release job
  • generate release notes from merged PRs instead of a separate changelog/version PR
  • use a development-only package version on main; the tag stamps every shipped artifact

The repository ruleset was also simplified from merge queue + required check to a strict up-to-date required check. Main remains PR-only and protected, but each merge no longer triggers a synthetic queue build.

Actions impact

Typical feature: PR CI only (previously PR + merge queue + main push).

Release: tag-driven CI + packaging/release (previously release PR + merge queue + main push + tag release + separate npm build).

Testing

  • npm run type-check
  • npm run lint
  • npm test (993 passed, 5 skipped)
  • npm run build
  • shellcheck scripts/tag-release.sh scripts/build-binary.sh
  • YAML parse check for both workflows
  • dry-run version stamping and npm tarball inspection

@valentinozegna
valentinozegna enabled auto-merge (squash) August 28, 2026 17:11
@valentinozegna
valentinozegna merged commit c819ce1 into main Aug 28, 2026
2 checks passed
@valentinozegna
valentinozegna deleted the chore/simplify-release-cycle branch August 28, 2026 17:13
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