diff --git a/.github/workflows/bun.yml b/.github/workflows/bun.yml index 246d475..35282bb 100644 --- a/.github/workflows/bun.yml +++ b/.github/workflows/bun.yml @@ -23,6 +23,6 @@ jobs: bun-version: ${{ matrix.bun-version }} bun-repo: 'oven-sh/bun' - name: Install Dependencies - run: bun x jsr add @cross/runtime @cross/test @std/assert + run: bun x jsr add @cross/runtime @std/assert - name: Test Bun Module run: bun test \ No newline at end of file diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml index 6f7098b..f6ae40c 100644 --- a/.github/workflows/deno.yml +++ b/.github/workflows/deno.yml @@ -26,4 +26,7 @@ jobs: run: deno lint - name: Check types - run: deno check mod.ts \ No newline at end of file + run: deno check mod.ts + + - name: Run tests + run: deno test \ No newline at end of file diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 87b5a41..afb0f84 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -17,6 +17,7 @@ jobs: steps: - uses: actions/checkout@v3 - - run: npx jsr add @cross/test @std/assert + - run: npx jsr add @cross/runtime @std/assert + - run: npm i tsx - run: "echo '{ \"type\": \"module\" }' > package.json" # Needed for tsx to work - - run: npx --yes tsx --test \ No newline at end of file + - run: npx tsx --test *.test.ts \ No newline at end of file diff --git a/deno.json b/deno.json index 7f94e90..282ab38 100644 --- a/deno.json +++ b/deno.json @@ -5,5 +5,5 @@ "fmt": { "lineWidth": 200 }, - "imports": { "@cross/runtime": "jsr:@cross/runtime@^0.0.17" } + "imports": { "@cross/runtime": "jsr:@cross/runtime@^0.0.17", "@std/assert": "jsr:@std/assert@^0.219.1" } }