diff --git a/.github/workflows/test-node.yml b/.github/workflows/test-node.yml new file mode 100644 index 0000000..247b408 --- /dev/null +++ b/.github/workflows/test-node.yml @@ -0,0 +1,24 @@ +name: Test (Node) + +on: + push: + branches: + - main + pull_request: + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22.x + - name: Install deps + run: | + npx jsr install + - name: Test + run: | + npx --yes tsx --test *_test.ts + timeout-minutes: 5 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7dfa1b2..a7af027 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: - name: Type check run: deno task check - test-deno: + test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -45,37 +45,6 @@ jobs: files: ./coverage.lcov token: ${{ secrets.CODECOV_TOKEN }} - test-node: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 22.x - - name: Install deps - run: | - npx jsr install - - name: Test - run: | - npx --yes tsx --test *_test.ts - timeout-minutes: 5 - - test-bun: - 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 - jsr-publish: runs-on: ubuntu-latest steps: diff --git a/bun.lockb b/bun.lockb deleted file mode 100755 index a6c7de4..0000000 Binary files a/bun.lockb and /dev/null differ