Skip to content

Commit 4d7cbdc

Browse files
authored
fix(ci): workaround by using hoisted Bun linker on Windows (anomalyco#17751)
1 parent 59c530c commit 4d7cbdc

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/actions/setup-bun/action.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,13 @@ runs:
4141
shell: bash
4242

4343
- name: Install dependencies
44-
run: bun install
44+
run: |
45+
# Workaround for patched peer variants
46+
# e.g. ./patches/ for standard-openapi
47+
# https://github.com/oven-sh/bun/issues/28147
48+
if [ "$RUNNER_OS" = "Windows" ]; then
49+
bun install --linker hoisted
50+
else
51+
bun install
52+
fi
4553
shell: bash

0 commit comments

Comments
 (0)