Skip to content

ci(publish): single-package option to publish @saga-ed/soa-rum-util#110

Merged
SethPaul merged 1 commit into
mainfrom
feat/rum-util-publish-target
Jun 1, 2026
Merged

ci(publish): single-package option to publish @saga-ed/soa-rum-util#110
SethPaul merged 1 commit into
mainfrom
feat/rum-util-publish-target

Conversation

@SethPaul
Copy link
Copy Markdown
Contributor

@SethPaul SethPaul commented Jun 1, 2026

Why

@saga-ed/soa-rum-util (v0.1.0) is on `main` with a CodeArtifact `publishConfig`, but it was never wired into `publish-codeartifact.yml`'s hardcoded publishable list — so it has never been published (aws codeartifact list-package-versions … soa-rum-util → `ResourceNotFoundException`). qboard (connectv3) and janus (login) are about to consume it, so it needs to land in CodeArtifact.

Adding it to the existing hardcoded list would force a coordinated patch-bump + republish of all ~15 other node packages. Instead this adds a surgical single-package path.

What

New optional `single_package` `workflow_dispatch` input (a package path, e.g. `packages/web/rum-util`).

  • Empty (default): behavior is byte-for-byte identical to today's coordinated multi-package release.
  • Set: the `test`, `version-bump`, `publish-codeartifact` and `publish-github` jobs all scope to just that package (build/lint/typecheck/test `...`, bump only it, publish only it). The full-repo lint/typecheck/build gates are skipped in this mode (the per-package `...` steps already cover the target + its deps).

Input value is consumed via a workflow-level `SINGLE_PACKAGE` env var and referenced as `"$SINGLE_PACKAGE"` in shell (never inline `${{ }}`) per Actions injection-safety guidance.

Validation

  • Workflow YAML parses.
  • `@saga-ed/soa-rum-util` passes `build` / `check-types` / `lint` / `test` (17 tests) locally — confirming the single-package CI path will go green.

After merge

Dispatch with `single_package=packages/web/rum-util`, `version=patch`, `publish_target=codeartifact` → publishes `@saga-ed/soa-rum-util@0.1.1` to CodeArtifact (`saga_js`).

Adds an optional 'single_package' workflow_dispatch input. When set to a
package path (e.g. packages/web/rum-util), the test, version-bump and publish
jobs all scope to that one package instead of the standard coordinated
multi-package release. Empty input preserves existing behavior exactly.

Unblocks publishing @saga-ed/soa-rum-util (on main but never wired into the
hardcoded publishable list) to CodeArtifact without bumping/republishing the
~15 unrelated node packages.
@SethPaul SethPaul merged commit b4eb263 into main Jun 1, 2026
5 checks passed
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

✅ Test Results

Status Suites Tests
✅ Passed 78 201
❌ Failed 0 0
⏭️ Skipped 0 0
Total 78 201

Package Results

Package Tests Passed Failed
✅ @saga-ed/soa-core 23 23 0
✅ @saga-ed/soa-node 161 161 0
✅ @saga-ed/soa-web 17 17 0

Commits

  • Branch: 30d3a39 (feat/rum-util-publish-target)
  • Merge: d7aef15

Links


Updated: 2026-06-01T23:37:11.406Z

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