From 539fa4618f43752e75a198615d06177207ab8f88 Mon Sep 17 00:00:00 2001 From: Minsu Lee Date: Sat, 5 Sep 2026 22:31:53 +0900 Subject: [PATCH] ci(docs): install bun before wrangler-action in the deploy job wrangler-action resolves its package manager from docs/bun.lock, but the deploy job set up no toolchain, so the first deploy on main failed with "Unable to locate executable file: bun". Run mise-action and a frozen install first so the action reuses the pinned wrangler. --- .github/workflows/docs.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 211dd70..b9da491 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -69,6 +69,8 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/main' needs: build runs-on: ubuntu-latest + env: + MISE_DISABLE_TOOLS: cargo:hk environment: name: docs url: https://code-search.pleaseai.dev @@ -78,6 +80,16 @@ jobs: with: persist-credentials: false + # wrangler-action picks the package manager from docs/bun.lock, so bun + # must exist here too; installing deps lets it reuse the pinned wrangler + # instead of fetching a floating one. + - name: Setup mise (node, bun) + uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0 + + - name: Install dependencies + run: bun install --frozen-lockfile + working-directory: docs + - name: Download site uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: