Skip to content

Commit

Permalink
ci: add deno to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Oct 17, 2024
1 parent c5a5e22 commit b682547
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:

smoke-bun:
runs-on: ubuntu-latest
name: Smoke Bun
needs: build
steps:
- uses: actions/checkout@v4
Expand All @@ -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
2 changes: 1 addition & 1 deletion src/test/smoke/invoke.test.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import assert from 'assert'
import assert from 'node:assert'
import { zurk, $ } from '../../../target/esm/index.mjs'

const keepAlive = setInterval(() => {}, 1000 * 60 * 60)
Expand Down
2 changes: 1 addition & 1 deletion src/test/ts/x.test.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit b682547

Please sign in to comment.