File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed
Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ # Bun Ecosystem Test
2+
3+ This test runs a minimal workflow using
` [email protected] ` in a Bun environment.
4+
5+ ## How to Run
6+
7+ - Make sure you have Bun installed: https://bun.sh/docs/installation
8+ - Install dependencies: ` bun install `
9+ - Run: ` bun run index.ts `
Original file line number Diff line number Diff line change 1+ import { Workflow } from 'langbase' ;
2+
3+ async function main ( ) {
4+ const workflow = new Workflow ( { debug : true } ) ;
5+ const result = await workflow . step ( {
6+ id : 'hello' ,
7+ run : async ( ) => 'world' ,
8+ } ) ;
9+ console . log ( { result} ) ;
10+ }
11+
12+ main ( ) . catch ( console . error ) ;
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " bun-test" ,
3+ "version" : " 1.0.0" ,
4+ "type" : " module" ,
5+ "private" : true ,
6+ "dependencies" : {
7+ "langbase" : " 1.2.0"
8+ }
9+ }
You can’t perform that action at this time.
0 commit comments