Skip to content

Commit

Permalink
ci: Test in Bun
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Jul 9, 2024
1 parent 48545eb commit 919882b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/bun-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Bun CI

on: [push, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [windows-latest, macOS-latest, ubuntu-latest]
bun: [latest]

steps:
- uses: actions/checkout@v4
- name: Use Bun ${{ matrix.bun }} ${{ matrix.os }}
uses: oven-sh/setup-bun@v1
with:
bun-version: ${{ matrix.bun }}
- name: bun install, build, and test
run: |
bun install
bun run --bun test
env:
CI: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,4 @@ dist

package-lock.json
yarn.lock
bun.lockb

0 comments on commit 919882b

Please sign in to comment.