Skip to content

Commit 766780e

Browse files
committed
chore: migrate from npm to bun
- Replace package-lock.json with bun.lock - Update CI workflows to use oven-sh/setup-bun@v2 - Update README with bun install instructions
1 parent 69bc857 commit 766780e

File tree

4 files changed

+1431
-9867
lines changed

4 files changed

+1431
-9867
lines changed

.github/workflows/lint.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,11 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16-
- name: Setup Node.js
17-
uses: actions/setup-node@v4
18-
with:
19-
node-version: '20'
20-
cache: 'npm'
16+
- name: Setup Bun
17+
uses: oven-sh/setup-bun@v2
2118

2219
- name: Install dependencies
23-
run: npm ci
20+
run: bun install
2421

2522
- name: Check Prettier formatting
26-
run: npm run format:check
23+
run: bun run format:check

.github/workflows/playwright.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,17 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616

17-
- name: Setup Node.js
18-
uses: actions/setup-node@v4
19-
with:
20-
node-version: '20'
21-
cache: 'npm'
17+
- name: Setup Bun
18+
uses: oven-sh/setup-bun@v2
2219

2320
- name: Install dependencies
24-
run: npm ci
21+
run: bun install
2522

2623
- name: Install Playwright Browsers
27-
run: npx playwright install --with-deps chromium
24+
run: bunx playwright install --with-deps chromium
2825

2926
- name: Run Playwright tests
30-
run: npm run test:e2e
27+
run: bun run test:e2e
3128
env:
3229
CI: true
3330

0 commit comments

Comments
 (0)