Skip to content

Commit c42b0d7

Browse files
use bun for github actions
1 parent 098b732 commit c42b0d7

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/build-and-test.yml

+5-12
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,22 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212

13-
strategy:
14-
matrix:
15-
node-version: [18.x]
16-
1713
steps:
1814
- uses: actions/checkout@v4
1915

20-
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
22-
with:
23-
node-version: ${{ matrix.node-version }}
16+
- uses: oven-sh/setup-bun@v2
2417

2518
- name: Install dependencies
26-
run: npm install
19+
run: bun install --frozen-lockfile
2720

2821
- name: Codegen
29-
run: npm run generate:graphql
22+
run: bun run generate:graphql
3023

3124
- name: Run the tests
32-
run: npm test
25+
run: bun run test
3326

3427
- name: Build
35-
run: npm run build
28+
run: bun run build
3629
env:
3730
CI: false
3831

0 commit comments

Comments
 (0)