From b03eca15da624b6aa7dbbb06a0b292559c05e91e Mon Sep 17 00:00:00 2001 From: Ralf Anton Beier Date: Sun, 3 May 2026 20:05:09 +0200 Subject: [PATCH] ci: migrate 2 of 3 release-npm.yml jobs to smithy self-hosted runners 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. --- .github/workflows/release-npm.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index 9285471..4db8f84 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -20,6 +20,8 @@ env: jobs: build-binaries: name: Build ${{ matrix.target }} + # Stays on ubuntu-latest: cross-OS release matrix (linux/macos/ + # macos-14/windows). Smithy is Linux-only. runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -91,7 +93,7 @@ jobs: publish-npm: name: Publish to NPM needs: build-binaries - runs-on: ubuntu-latest + runs-on: [self-hosted, linux, x64, light] steps: - name: Checkout repository uses: actions/checkout@v4 @@ -149,7 +151,7 @@ jobs: build-platform-packages: name: Build Platform Packages needs: build-binaries - runs-on: ubuntu-latest + runs-on: [self-hosted, linux, x64, light] strategy: matrix: include: