Skip to content

Commit

Permalink
test: add tests for Bun
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Aug 17, 2024
1 parent ee7a4d7 commit 3c12baa
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test-bun.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test (Bun)

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: antongolub/action-setup-bun@v1
with:
bun-version: v1.x # Uses latest bun 1
- name: Install deps
run: |
bun install
- name: Test
run: |
# https://github.com/cross-org/test/issues/1
ls -v1 *_test.ts | xargs -n1 bun test '{}'
timeout-minutes: 5

0 comments on commit 3c12baa

Please sign in to comment.