From 6efdee9dde2233430cef9aa0f1649431603a22f5 Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Thu, 17 Oct 2024 22:04:31 +0300 Subject: [PATCH] ci: add deno to test matrix --- .github/workflows/ci.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2669995..a9a0fc5 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,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 +