Skip to content

Commit 1709955

Browse files
committed
chore: use Bun as package manager
1 parent 547085e commit 1709955

File tree

5 files changed

+2568
-15680
lines changed

5 files changed

+2568
-15680
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ jobs:
2020
- uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node }}
23-
- run: npm install
24-
- run: npx playwright install --with-deps
25-
- run: npm run build
26-
- run: npm run test:e2e:vite
23+
- uses: oven-sh/setup-bun@v2
24+
with:
25+
bun-version: '1.2.5'
26+
- run: bun install
27+
- run: bunx playwright install --with-deps
28+
- run: bun run build
29+
- run: bun run test:e2e:vite
2730

2831
cloudflare-pages:
2932
name: 'Cloudflare Pages'
@@ -39,10 +42,13 @@ jobs:
3942
- uses: actions/setup-node@v4
4043
with:
4144
node-version: ${{ matrix.node }}
42-
- run: npm install
43-
- run: npx playwright install --with-deps
44-
- run: npm run build
45-
- run: npm run test:e2e:cloudflare-pages
45+
- uses: oven-sh/setup-bun@v2
46+
with:
47+
bun-version: '1.2.5'
48+
- run: bun install
49+
- run: bunx playwright install --with-deps
50+
- run: bun run build
51+
- run: bun run test:e2e:cloudflare-pages
4652

4753
cloudflare-workers:
4854
name: 'Cloudflare Workers'
@@ -58,10 +64,13 @@ jobs:
5864
- uses: actions/setup-node@v4
5965
with:
6066
node-version: ${{ matrix.node }}
61-
- run: npm install
62-
- run: npx playwright install --with-deps
63-
- run: npm run build
64-
- run: npm run test:e2e:cloudflare-workers
67+
- uses: oven-sh/setup-bun@v2
68+
with:
69+
bun-version: '1.2.5'
70+
- run: bun install
71+
- run: bunx playwright install --with-deps
72+
- run: bun run build
73+
- run: bun run test:e2e:cloudflare-workers
6574

6675
node:
6776
name: 'Node.js'
@@ -77,7 +86,10 @@ jobs:
7786
- uses: actions/setup-node@v4
7887
with:
7988
node-version: ${{ matrix.node }}
80-
- run: npm install
81-
- run: npx playwright install --with-deps
82-
- run: npm run build
83-
- run: npm run test:e2e:node
89+
- uses: oven-sh/setup-bun@v2
90+
with:
91+
bun-version: '1.2.5'
92+
- run: bun install
93+
- run: bunx playwright install --with-deps
94+
- run: bun run build
95+
- run: bun run test:e2e:node

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ node_modules
44
*.tgz
55
dist
66
.DS_Store
7+
package-lock.json

0 commit comments

Comments
 (0)