Skip to content

Commit

Permalink
add bun test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gudnuf committed Dec 11, 2024
1 parent 829c529 commit 81add7c
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on:
push:
branches: [master]
pull_request:
branches: [master]

permissions:
contents: read
issues: read
checks: write
pull-requests: write

jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.34

- name: Install dependencies
run: bun install

- name: Run tests
run: bun test --reporter=junit --reporter-outfile=./bun.xml

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
bun.xml

0 comments on commit 81add7c

Please sign in to comment.