Skip to content

The open source coding agent.

TypeScript

fix(ci): workaround by using hoisted Bun linker on Windows (#17751)

Luke Parker4d7cbdcbef92
diff --git a/.github/actions/setup-bun/action.yml b/.github/actions/setup-bun/action.yml
index f53f20fcdb9..d1e3bfc25d0 100644
--- a/.github/actions/setup-bun/action.yml
+++ b/.github/actions/setup-bun/action.yml
@@ -41,5 +41,13 @@ runs:
shell: bash
- name: Install dependencies
- run: bun install
+ run: |
+ # Workaround for patched peer variants
+ # e.g. ./patches/ for standard-openapi
+ # https://github.com/oven-sh/bun/issues/28147
+ if [ "$RUNNER_OS" = "Windows" ]; then
+ bun install --linker hoisted
+ else
+ bun install
+ fi
shell: bash