Skip to content

Commit 933e106

Browse files
ci: add pipeline for Bun (#6023)
Co-authored-by: Jon Church <[email protected]>
1 parent 072a807 commit 933e106

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/ci-bun.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI Bun
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
name: Bun CI
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
bun-version: [1.0.0, 1.1.0, 1.2.0, 1.3.0]
16+
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v4
20+
21+
- name: Setup Bun
22+
uses: oven-sh/setup-bun@v1
23+
with:
24+
bun-version: ${{ matrix.bun-version }}
25+
26+
# TODO: Remove this step once the lockfile has been updated to v3 in the repository
27+
- name: Install npm dependencies (lockfile v3)
28+
run: npm i --lockfile-version 3 --package-lock-only
29+
30+
- name: Install dependencies
31+
run: bun install
32+
33+
- name: Run validate
34+
run: bun run validate

0 commit comments

Comments
 (0)