From fea0b1dd484efe56de9cb00025ca6f6e6d6c6b2c Mon Sep 17 00:00:00 2001 From: Nicholas Date: Tue, 12 Mar 2024 17:50:45 +0000 Subject: [PATCH] chore: investigating jsr and bun --- .github/workflows/bun-test.yml | 32 ++++++++++++++++++++++++++++++++ jsr.json | 5 +++++ 2 files changed, 37 insertions(+) create mode 100644 .github/workflows/bun-test.yml create mode 100644 jsr.json diff --git a/.github/workflows/bun-test.yml b/.github/workflows/bun-test.yml new file mode 100644 index 0000000..365f8ca --- /dev/null +++ b/.github/workflows/bun-test.yml @@ -0,0 +1,32 @@ +name: Run Tests - Bun +on: + pull_request: + branches: + - 'main' + push: + branches: + - main +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + bun-version: [1.x] + + steps: + - uses: actions/checkout@v4 + + - name: Use Bun ${{ matrix.bun-version }} + uses: actions/setup-bun@vq + with: + node-version: ${{ matrix.bun-version }} + cache: 'bun' + + - name: Install + run: bun install + + - name: Run Tests + run: bun test diff --git a/jsr.json b/jsr.json new file mode 100644 index 0000000..955cabe --- /dev/null +++ b/jsr.json @@ -0,0 +1,5 @@ +{ + "name": "@bbc/sqs-consumer", + "version": "9.1.0", + "exports": "./src/index.ts" +} \ No newline at end of file