fix #126 - feat: Implement release and changelog process#154
fix #126 - feat: Implement release and changelog process#154fantonangeli wants to merge 12 commits into
Conversation
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
…ement-release-and-changelog-process Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
realease commit Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Introduces Changesets-based release automation and standardizes CI setup for a pnpm workspace, along with documentation updates for the new release process.
Changes:
- Add Changesets tooling/config and a first changeset entry to enable versioning and changelogs.
- Add “Prepare” and “Publish” GitHub workflows and a shared composite action for Node/pnpm setup.
- Adjust dependency/version consistency checks via Syncpack configuration.
Reviewed changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| pnpm-workspace.yaml | Adds Changesets packages to the pnpm catalog and updates syncpack version. |
| package.json | Adds a changeset script and adds Changesets devDependencies via catalog. |
| RELEASE_PROCESS.md | Documents the new release workflows and branching model. |
| CONTRIBUTING.md | Adds contributor guidance to include changesets in PRs affecting packages. |
| .syncpackrc.json | Updates schema reference and adds version group rules for package version consistency. |
| .github/workflows/publish-release.yaml | Adds a workflow to publish on merge of a Changesets-generated release PR. |
| .github/workflows/prepare-release.yaml | Adds a workflow to generate a release PR via Changesets. |
| .github/workflows/ci_check_license_headers.yaml | Replaces inline Node/pnpm setup with shared setup-ci action. |
| .github/workflows/ci_build.yaml | Replaces inline Node/pnpm setup with shared setup-ci action and updates dependency check naming. |
| .github/actions/setup-ci/action.yml | Adds a composite action to centralize Node/pnpm setup in CI. |
| .changeset/setup-changeset.md | Adds an initial changeset defining minor bumps. |
| .changeset/config.json | Adds Changesets configuration (GitHub changelog, fixed package group, etc.). |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
There was a problem hiding this comment.
I changed the rules to verify all the packages are with the same version and not just 0.0.0 like before.
This has been introduced this week in the last syncpack version (see JamieMason/syncpack#325 (comment)), many thanks @JamieMason for the update.
There was a problem hiding this comment.
I created this composite action to avoid repetition between actions and make it easier to maintain
…ement-release-and-changelog-process Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
|
@fantonangeli there are a few conflicts, I think we can merge after you fix them. |
Closes #126
Closes #100
Description
This PR introduces an automated release process based on Changesets:
prepare-release.yamlworkflow from the branch that should be released.chore: version packagesPR.Note:
This PR introduces the use of the
pnpm changesetcommand for contributions, required to generate releases and changelogs (see CONTRIBUTING.md).Definition of Done
Preview:
I tested this workflow on my fork:
for current release on
mainbranch:changeset-release/mainagainstmainwith version0.4.0and generated changelogsmain: https://github.com/fantonangeli/serverlessworkflow-editor/actions/runs/26177083781for maintenance release on
0.3.xbranch:pnpm changesetsimulating a CVE fixchangeset-release/0.3.xagainst0.3.xwith version0.3.2and generated changelogs0.3.x: https://github.com/fantonangeli/serverlessworkflow-editor/actions/runs/26230415885