From 7a9e604b2d3e32b187a58c768fe100f11e4f7822 Mon Sep 17 00:00:00 2001 From: justsisyphus Date: Fri, 16 Jan 2026 01:17:22 +0900 Subject: [PATCH] fix(ci): revert publish runner to ubuntu-latest for npm OIDC macOS runner breaks npm OIDC trusted publishing. Bun can cross-compile all platform binaries on ubuntu, so macOS runner is not needed. --- .github/workflows/publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index aece78737..be02c6ebe 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -60,7 +60,7 @@ jobs: run: bun run typecheck publish: - runs-on: macos-latest + runs-on: ubuntu-latest needs: [test, typecheck] if: github.repository == 'code-yeongyu/oh-my-opencode' steps: @@ -77,11 +77,13 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "24" - registry-url: "https://registry.npmjs.org" - name: Upgrade npm for OIDC trusted publishing run: npm install -g npm@latest + - name: Configure npm registry + run: npm config set registry https://registry.npmjs.org + - name: Install dependencies run: bun install env: