From 933e1061b8c344d3fc742cdc400175d5ffc99bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulises=20Gasc=C3=B3n?= Date: Wed, 5 Nov 2025 22:18:36 +0100 Subject: [PATCH] ci: add pipeline for Bun (#6023) Co-authored-by: Jon Church --- .github/workflows/ci-bun.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/ci-bun.yml diff --git a/.github/workflows/ci-bun.yml b/.github/workflows/ci-bun.yml new file mode 100644 index 000000000..921a3ad7a --- /dev/null +++ b/.github/workflows/ci-bun.yml @@ -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 \ No newline at end of file