Skip to content

Commit 043a60d

Browse files
committed
chore: replace npm with Bun
1 parent cf267b9 commit 043a60d

File tree

4 files changed

+919
-6017
lines changed

4 files changed

+919
-6017
lines changed

.github/workflows/checks.yml

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,35 +19,26 @@ jobs:
1919
runs-on: macos-15-xlarge
2020
steps:
2121
- uses: actions/checkout@v4
22-
- uses: actions/setup-node@v4
23-
with:
24-
node-version: "22.x"
25-
cache: "npm"
26-
- run: npm ci
27-
- run: npm run lint
22+
- uses: oven-sh/setup-bun@v2
23+
- run: bun install
24+
- run: bun run lint
2825

2926
test:
3027
runs-on: macos-15-xlarge
3128
steps:
3229
- uses: actions/checkout@v4
33-
- uses: actions/setup-node@v4
34-
with:
35-
node-version: "22.x"
36-
cache: "npm"
37-
- run: npm ci
38-
- run: npm run test
30+
- uses: oven-sh/setup-bun@v2
31+
- run: bun install
32+
- run: bun run test
3933

4034
types:
4135
runs-on: macos-15-xlarge
4236
steps:
4337
- uses: actions/checkout@v4
44-
- uses: actions/setup-node@v4
45-
with:
46-
node-version: "22.x"
47-
cache: "npm"
48-
- run: npm ci
49-
- run: npm run test:src-types
50-
- run: npm run test:types
38+
- uses: oven-sh/setup-bun@v2
39+
- run: bun install
40+
- run: bun --bun run test:src-types
41+
- run: bun --bun run test:types
5142

5243
deploy-docs:
5344
if: github.ref == 'refs/heads/master'

0 commit comments

Comments
 (0)