Skip to content

Commit 3620b70

Browse files
committed
ci: use bun
1 parent 2bb0d19 commit 3620b70

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ jobs:
1515
uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
18-
- uses: pnpm/action-setup@v3
18+
- name: Setup Bun
19+
uses: oven-sh/setup-bun@v1
1920
with:
20-
version: 7
21+
bun-version: latest
2122
- name: Use Node.js ${{ matrix.node-version }}
2223
uses: actions/setup-node@v4
2324
with:
2425
node-version: ${{ matrix.node-version }}
25-
cache: "pnpm"
2626
- name: Install dependencies
2727
run: |
28-
pnpm install
28+
bun install
2929
- name: Build
3030
run: |
31-
pnpm run build --if-present
31+
bun run build --if-present
3232
- name: Run tests
3333
run: |
34-
pnpm run test
34+
bun run test
3535
- name: Release
3636
env:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,18 @@ jobs:
1313
uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 0
16-
- uses: pnpm/action-setup@v3
16+
- name: Install Bun
17+
uses: oven-sh/setup-bun@v1
1718
with:
18-
version: 7
19+
bun-version: latest
1920
- name: Use Node.js ${{ matrix.node-version }}
2021
uses: actions/setup-node@v4
2122
with:
2223
node-version: ${{ matrix.node-version }}
23-
cache: "pnpm"
24+
cache: "bun"
2425
- name: Install dependencies
2526
run: |
26-
pnpm install
27+
bun install
2728
- name: Run tests
2829
run: |
29-
pnpm run test
30+
bun run test

bun.lockb

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)