From fdc9d37563e359a4e88f449fda9d38dd58b357ce Mon Sep 17 00:00:00 2001 From: jesse23 Date: Sat, 21 Mar 2026 23:08:05 -0400 Subject: [PATCH 1/3] ci: replace BUN_OVERRIDE_NODE_VERSION with actions/setup-node@v4 BUN_OVERRIDE_NODE_VERSION doesn't work on ubuntu-latest because bunx uses system node, not Bun's runtime. Use actions/setup-node@v4 with node-version 22 instead. --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62dff84..9bb9dcb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,11 +18,13 @@ jobs: - uses: oven-sh/setup-bun@v2 with: bun-version: 1.3.10 + - uses: actions/setup-node@v4 + with: + node-version: 22 - run: bun install --frozen-lockfile - run: bun run build - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - BUN_OVERRIDE_NODE_VERSION: "24.3.0" run: bunx semantic-release From 7f880fee7731050e434d4c5bd6bd96ef40c48c3d Mon Sep 17 00:00:00 2001 From: jesse23 Date: Sat, 21 Mar 2026 23:09:22 -0400 Subject: [PATCH 2/3] ci: use oven/bun:1.3.10-debian container for release workflow Replace ubuntu-latest + setup-node/setup-bun with container image. Bun runtime is native in container, bunx uses it directly without system node. Matches cfx approach. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus --- .github/workflows/release.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9bb9dcb..2a73206 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,7 @@ on: jobs: release: runs-on: ubuntu-latest + container: oven/bun:1.3.10-debian permissions: contents: write steps: @@ -15,12 +16,6 @@ jobs: with: fetch-depth: 0 persist-credentials: false - - uses: oven-sh/setup-bun@v2 - with: - bun-version: 1.3.10 - - uses: actions/setup-node@v4 - with: - node-version: 22 - run: bun install --frozen-lockfile - run: bun run build - name: Release From e810cea51207fbdbc483485520a06dbbfe50c0fb Mon Sep 17 00:00:00 2001 From: jesse23 Date: Sat, 21 Mar 2026 23:10:25 -0400 Subject: [PATCH 3/3] ci: use oven/bun:1.3.10-debian container for all CI jobs Replace setup-bun steps with container directive for consistency with release.yml approach. --- .github/workflows/ci.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b48bfb..445545b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,30 +8,24 @@ on: jobs: lint: runs-on: ubuntu-latest + container: oven/bun:1.3.10-debian steps: - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v2 - with: - bun-version: 1.3.10 - run: bun install --frozen-lockfile - run: bun run lint build: runs-on: ubuntu-latest + container: oven/bun:1.3.10-debian steps: - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v2 - with: - bun-version: 1.3.10 - run: bun install --frozen-lockfile - run: bun run build test: runs-on: ubuntu-latest + container: oven/bun:1.3.10-debian steps: - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v2 - with: - bun-version: 1.3.10 - run: bun install --frozen-lockfile - run: bun run test