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: