Skip to content

Commit

Permalink
chore: investigating jsr and bun
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasgriffintn committed Mar 12, 2024
1 parent c031e1e commit fea0b1d
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/bun-test.yml
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions jsr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "@bbc/sqs-consumer",
"version": "9.1.0",
"exports": "./src/index.ts"
}

0 comments on commit fea0b1d

Please sign in to comment.