Skip to content

Commit c8f370e

Browse files
silverwindclaude
andcommitted
ci: force bun runtime for tsdown on bun jobs
`bunx tsdown` honors tsdown's `#!/usr/bin/env node` shebang and runs the binary under node, so tsdown's loader auto-detection falls back to `unrun` (an optional peer dep that isn't installed). `--bun` overrides the shebang and runs tsdown under bun, where the native TS loader works. Co-Authored-By: Claude (Opus 4.7) <noreply@anthropic.com>
1 parent 2b16c60 commit c8f370e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ jobs:
3131
if: ${{matrix.js[0] == 'bun'}}
3232
- run: make deps lint test
3333
if: ${{matrix.js[0] == 'node'}}
34-
- run: bun install && bunx tsdown && bun test --timeout 180000
34+
- run: bun install && bunx --bun tsdown && bun test --timeout 180000
3535
if: ${{matrix.js[0] == 'bun'}}

0 commit comments

Comments
 (0)