From c60ca923bd0921d3a36512026d063dab72389581 Mon Sep 17 00:00:00 2001 From: jesse23 Date: Sat, 21 Mar 2026 22:42:25 -0400 Subject: [PATCH 1/4] ci: add Node.js 22 setup to release workflow for semantic-release compatibility --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c6b93c..9bb9dcb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,9 @@ 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 From 55cbe18be169e84348b4326843d3d19393fa526f Mon Sep 17 00:00:00 2001 From: jesse23 Date: Sat, 21 Mar 2026 22:57:24 -0400 Subject: [PATCH 2/4] ci: use BUN_OVERRIDE_NODE_VERSION for semantic-release instead of setup-node Remove actions/setup-node step and set BUN_OVERRIDE_NODE_VERSION=24.3.0 env var so bunx uses Bun's internal Node version (24.3.0) instead of system Node 20, satisfying semantic-release's engine requirement. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus --- .github/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9bb9dcb..62dff84 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,13 +18,11 @@ 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 2a70ff00f6f1b98ce66a4f178ffcd8811d452614 Mon Sep 17 00:00:00 2001 From: jesse23 Date: Sat, 21 Mar 2026 22:58:45 -0400 Subject: [PATCH 3/4] ci: add release-dry-run job to validate semantic-release config on PRs --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b48bfb..997fc2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,3 +35,20 @@ jobs: bun-version: 1.3.10 - run: bun install --frozen-lockfile - run: bun run test + + release-dry-run: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + persist-credentials: false + - uses: oven-sh/setup-bun@v2 + with: + bun-version: 1.3.10 + - run: bun install --frozen-lockfile + - name: Release dry run + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BUN_OVERRIDE_NODE_VERSION: "24.3.0" + run: bunx semantic-release --dry-run From 4d61e28fb6c695ddfd133a1a27bd8f34bd0acd64 Mon Sep 17 00:00:00 2001 From: jesse23 Date: Sat, 21 Mar 2026 23:00:12 -0400 Subject: [PATCH 4/4] ci: remove release-dry-run job from CI workflow Removes the release-dry-run job that adds noise without providing real value per-PR validation. --- .github/workflows/ci.yml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 997fc2f..9b48bfb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,20 +35,3 @@ jobs: bun-version: 1.3.10 - run: bun install --frozen-lockfile - run: bun run test - - release-dry-run: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - persist-credentials: false - - uses: oven-sh/setup-bun@v2 - with: - bun-version: 1.3.10 - - run: bun install --frozen-lockfile - - name: Release dry run - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BUN_OVERRIDE_NODE_VERSION: "24.3.0" - run: bunx semantic-release --dry-run