Skip to content

Commit 982a844

Browse files
committed
feat: Integrate Bun into the project
1 parent d44b8ba commit 982a844

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: CI for OmO GitHub Agent
2+
23
on:
34
push:
45
branches: [ main ]
@@ -12,22 +13,21 @@ jobs:
1213
steps:
1314
- uses: actions/checkout@v3
1415

15-
- name: Set up Node.js
16-
uses: actions/setup-node@v3
16+
- name: Set up Bun
17+
uses: oven-sh/setup-bun@v1
1718
with:
18-
node-version: '20'
19-
cache: 'npm'
19+
bun-version: 'latest'
2020

2121
- name: Install dependencies
22-
run: npm ci
22+
run: bun install
2323

2424
- name: Build with TypeScript
25-
run: npm run build
25+
run: bun run build
2626

2727
# Add linting step here if ESLint or other linters are configured
2828
# - name: Lint
29-
# run: npm run lint
29+
# run: bun run lint
3030

3131
# Add testing step here if tests are implemented
3232
# - name: Test
33-
# run: npm test
33+
# run: bun test

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"test": "jest --config jest.config.js",
8-
"start": "ts-node index.ts",
9-
"build": "tsc"
7+
"test": "bun run jest --config jest.config.js",
8+
"start": "bun run ts-node index.ts",
9+
"build": "bun run tsc"
1010
},
1111
"keywords": [],
1212
"author": "",

0 commit comments

Comments
 (0)