ci: simplify build-and-pack with a shared script and run scaffolding validation on all PRs#673
Draft
Copilot wants to merge 4 commits intodevelopmentfrom
Draft
ci: simplify build-and-pack with a shared script and run scaffolding validation on all PRs#673Copilot wants to merge 4 commits intodevelopmentfrom
Copilot wants to merge 4 commits intodevelopmentfrom
Conversation
Co-authored-by: joaoopereira <3718704+joaoopereira@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add GitHub Actions workflow for CLI validation
feat: add PR scaffolding validation workflow against latest MES
Mar 12, 2026
Co-authored-by: joaoopereira <3718704+joaoopereira@users.noreply.github.com>
…ion for all PRs Co-authored-by: joaoopereira <3718704+joaoopereira@users.noreply.github.com>
Copilot
AI
changed the title
feat: add PR scaffolding validation workflow against latest MES
ci: simplify build-and-pack with a shared script and run scaffolding validation on all PRs
Mar 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The scaffolding validation workflow only built the Linux binary (missing win-x64/osx-x64), repeated build+pack steps per-platform inline, and gated on PRs targeting
mainonly.Changes
New
.github/scripts/build-and-pack.sh— single script with a for loop over all platforms (win-x64,linux-x64,osx-x64); accepts a mode argument:bundle→ outputs tonpm/dist/<platform>/(no zip, for npm packaging)prod(default) → outputs todist/<platform>/and createscmf-cli.<platform>.zipwith a directory existence check before zippingnpm-publish.yml— drops themontudor/action-zipstep and replacesnpm run build:prod+ 3 separate zip steps with a singlebash .github/scripts/build-and-pack.shpr-scaffolding-validation.yml:branches: - main— now triggers on all PRsnpm run build:bundle:linuxwithbash .github/scripts/build-and-pack.sh bundle, building all three platforms via the shared script📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.