From 348d44eb9f97fa03546e6ceef2ab1c3d480838c6 Mon Sep 17 00:00:00 2001 From: Alex Miller Date: Sun, 25 Aug 2024 15:33:23 +1200 Subject: [PATCH] test: add bun job to ci --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f916409..987023a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,3 +21,23 @@ jobs: with: license-check: true lint: true + bun: + runs-on: ubuntu-latest + steps: + - name: Install dependencies + # The erraneous typod version `5.0.0-aplha` takes priority over .3 as 'p' > 'l' + run: | + bun i --ignore-scripts + bun i -D --ignore-scripts fastify@5.0.0-alpha.3 + + - name: Run types check + run: bun run typescript + + - name: Run Jest tests + run: bun run typescript:jest + + - name: Run Vitest tests + run: bun run typescript:vitest + + - name: Run unit tests + run: bun run unit:bun