From 3c12baabfbee37a49dca523bad759277d5ca0bde Mon Sep 17 00:00:00 2001 From: Alisue Date: Sat, 17 Aug 2024 21:07:38 +0900 Subject: [PATCH] test: add tests for Bun --- .github/workflows/test-bun.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test-bun.yml diff --git a/.github/workflows/test-bun.yml b/.github/workflows/test-bun.yml new file mode 100644 index 0000000..25448e7 --- /dev/null +++ b/.github/workflows/test-bun.yml @@ -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