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 6efdee9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 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,24 @@ 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
deno test --allow-read --allow-sys --allow-env --allow-run /src/test/smoke/invoke.test.cjs

0 comments on commit 6efdee9

Please sign in to comment.