Skip to content
This repository was archived by the owner on Jul 6, 2026. It is now read-only.

fix: remove lerna version from release workflow#687

Merged
mikemilla merged 3 commits into
mainfrom
chore/fix-release-workflow
Apr 21, 2026
Merged

fix: remove lerna version from release workflow#687
mikemilla merged 3 commits into
mainfrom
chore/fix-release-workflow

Conversation

@mikemilla

@mikemilla mikemilla commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Consolidate test, staging, and release into a single workflow triggered on push to main
  • Tests (typecheck + unit tests) run first; staging and release only proceed if tests pass
  • Remove lerna version from CI — version bumps happen in PRs via yarn lerna:version, and lerna publish from-package publishes any new versions on merge
  • Remove separate staging.yml (now a job in release.yml)
  • Upgrade actions/checkout and actions/setup-node from v2 to v4

Release process

  1. Bump versions in your PR with yarn lerna:version
  2. Merge to main
  3. CI runs tests, deploys staging components, and publishes to npm automatically

lerna version pushes a commit to main which fails due to branch
protection rules. Version bumps should happen in PRs instead, and
lerna publish from-package will publish any new versions on merge.

Made-with: Cursor
Add a test job (typecheck + unit tests) that must pass before the
release job runs. Prevents broken code from being published to npm.

Made-with: Cursor
Merge test, staging, and release into one workflow. On push to main:
1. test — typecheck + unit tests
2. staging — build and deploy staging components to S3 (after tests)
3. release — publish to npm and deploy production components (after tests)

Remove separate staging.yml since it's now part of release.yml.

Made-with: Cursor
@mikemilla mikemilla enabled auto-merge (rebase) April 21, 2026 00:44
@mikemilla mikemilla merged commit 2c7798a into main Apr 21, 2026
5 checks passed
@mikemilla mikemilla deleted the chore/fix-release-workflow branch April 21, 2026 00:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants