ci: add pipeline for Bun (#6023)

Co-authored-by: Jon Church <me@jonchurch.com>
This commit is contained in:
Ulises Gascón
2025-11-05 22:18:36 +01:00
committed by GitHub
parent 072a807ff7
commit 933e1061b8

34
.github/workflows/ci-bun.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: CI Bun
on:
push:
branches: [ main ]
pull_request:
jobs:
test:
name: Bun CI
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
bun-version: [1.0.0, 1.1.0, 1.2.0, 1.3.0]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: ${{ matrix.bun-version }}
# TODO: Remove this step once the lockfile has been updated to v3 in the repository
- name: Install npm dependencies (lockfile v3)
run: npm i --lockfile-version 3 --package-lock-only
- name: Install dependencies
run: bun install
- name: Run validate
run: bun run validate