diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2669995..87c3826 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -116,6 +116,7 @@ jobs: smoke-bun: runs-on: ubuntu-latest + name: Smoke Bun needs: build steps: - uses: actions/checkout@v4 @@ -127,3 +128,21 @@ jobs: - run: | bun ./src/test/smoke/invoke.test.cjs bun ./src/test/smoke/invoke.test.mjs + + smoke-deno: + runs-on: ubuntu-latest + name: Smoke Deno ${{ matrix.deno-version }} + needs: build + strategy: + matrix: + deno-version: [ v1.x, v2.x ] + steps: + - uses: actions/checkout@v4 + - name: Setup Deno + uses: denoland/setup-deno@v2 + with: + deno-version: ${{ matrix.deno-version }} + - uses: actions/download-artifact@v4 + with: + name: build + - run: deno test --allow-read --allow-sys --allow-env --allow-run ./src/test/smoke/invoke.test.mjs diff --git a/src/test/ts/x.test.ts b/src/test/ts/x.test.ts index 84bc2ad..d34490c 100644 --- a/src/test/ts/x.test.ts +++ b/src/test/ts/x.test.ts @@ -1,7 +1,7 @@ import * as assert from 'node:assert' import * as fs from 'node:fs' -import * as path from 'node:path' import * as os from 'node:os' +import path from 'node:path' import { describe, it } from 'node:test' import { Stream } from 'node:stream' import { getEventListeners } from 'node:events'