Skip to content

Commit e0fe030

Browse files
committed
Use bun in CI
1 parent bb33c70 commit e0fe030

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/ci.yml

+8-13
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,20 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
node-env: [ 'development', 'production' ]
9+
node-env: ["development", "production"]
1010
env:
11-
NODE_ENV: ${{ matrix.node-env }}
11+
NODE_ENV: ${{ matrix.node-env }}
1212
steps:
13-
- name: Checkout
13+
- name: Checkout
1414
uses: actions/checkout@v4
1515

16-
- name: Setup Node
17-
uses: actions/[email protected]
18-
with:
19-
node-version: 16
16+
- name: Setup Bun
17+
uses: oven-sh/setup-bun@v1
2018

21-
- run: yarn install
19+
- run: bun install
2220

23-
- run: yarn build
24-
25-
- run: yarn lint
21+
- run: bun lint
2622
if: ${{ matrix.node-env == 'development' }}
2723

28-
- run: yarn test
24+
- run: bun test
2925
if: ${{ matrix.node-env == 'development' }}
30-

0 commit comments

Comments
 (0)