Skip to content

Commit 2b70ae5

Browse files
committed
fix(ci): pin bun to 1.2.22 - 1.3.x breaks --external in compiled binaries
1 parent e601cde commit 2b70ae5

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup Bun
2222
uses: oven-sh/setup-bun@v1
2323
with:
24-
bun-version: latest
24+
bun-version: 1.2.22 # Pin version - 1.3.x breaks --external in compiled binaries
2525

2626
- name: Install dependencies
2727
run: bun install
@@ -47,7 +47,7 @@ jobs:
4747
- name: Setup Bun
4848
uses: oven-sh/setup-bun@v1
4949
with:
50-
bun-version: latest
50+
bun-version: 1.2.22 # Pin version - 1.3.x breaks --external in compiled binaries
5151

5252
- name: Install dependencies
5353
run: bun install
@@ -58,7 +58,7 @@ jobs:
5858
- name: Test compilation
5959
run: |
6060
mkdir -p binaries
61-
bun build ./src/index.ts --compile --outfile ./binaries/autohand-test
61+
bun build ./src/index.ts --compile --external react-devtools-core --outfile ./binaries/autohand-test
6262
6363
- name: Verify binary (Unix)
6464
if: runner.os != 'Windows'

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: Setup Bun
7272
uses: oven-sh/setup-bun@v1
7373
with:
74-
bun-version: latest
74+
bun-version: 1.2.22 # Pin version - 1.3.x breaks --external in compiled binaries
7575

7676
- name: Install dependencies
7777
run: bun install
@@ -124,7 +124,7 @@ jobs:
124124
- name: Setup Bun
125125
uses: oven-sh/setup-bun@v1
126126
with:
127-
bun-version: latest
127+
bun-version: 1.2.22 # Pin version - 1.3.x breaks --external in compiled binaries
128128

129129
- name: Install dependencies
130130
run: bun install
@@ -164,7 +164,7 @@ jobs:
164164
- name: Setup Bun
165165
uses: oven-sh/setup-bun@v1
166166
with:
167-
bun-version: latest
167+
bun-version: 1.2.22 # Pin version - 1.3.x breaks --external in compiled binaries
168168

169169
- name: Install dependencies
170170
run: bun install

0 commit comments

Comments
 (0)