ci: migrate 2 of 3 release-npm.yml jobs to smithy self-hosted runners#2
Open
ci: migrate 2 of 3 release-npm.yml jobs to smithy self-hosted runners#2
Conversation
light publish-npm, build-platform-packages Stays on ubuntu-latest: - build-binaries cross-OS release matrix (linux/macos/macos-14/win) The two npm-publish jobs only run `npm publish` + jq + gh CLI, which is well within the 4 G `light` budget.
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.
Summary
The repository has only one workflow (
release-npm.yml, triggered onrelease publish or workflow_dispatch). Two of its three jobs
(
publish-npm,build-platform-packages) only need Node, jq, andthe GitHub CLI — well within the 4 G
lightsmithy class. They moveto smithy. The third job (
build-binaries) is a four-OS releasematrix and stays on hosted because smithy is Linux-only.
Coverage
publish-npmlightbuild-platform-packageslightStays on ubuntu-latest
build-binariesubuntu-latest,macos-latest,macos-14,windows-latest). Smithy is Linux-only.Workarounds applied
None — both migrated jobs are clean
runs-on:swaps. They use onlyactions/setup-node,npm publish,jq, andgh release— none ofwhich need sudo, apt, or any pattern called out in the playbook.
Test plan
publish-npmandbuild-platform-packagesland onlightsmithy runners withinseconds (no GitHub queue).
npm publishagainstregistry.npmjs.org).build-binariesstill runs across the four release-target OSeson
ubuntu-latest/macos-*/windows-latestas before.Rollback
Revert this commit. Both migrated jobs return to
ubuntu-latestandthe next release run uses GitHub-hosted compute.