From 0b0ce08cf90f23ed5c6e389cff9afea680a35592 Mon Sep 17 00:00:00 2001 From: dk <2597375+Thesephi@users.noreply.github.com> Date: Sat, 7 Dec 2024 00:11:32 +0100 Subject: [PATCH] updated runtime tests (#39) --- .github/workflows/runtime-tests.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/runtime-tests.yml b/.github/workflows/runtime-tests.yml index a57ee1c..6e2397d 100644 --- a/.github/workflows/runtime-tests.yml +++ b/.github/workflows/runtime-tests.yml @@ -51,8 +51,8 @@ jobs: - name: Perform Tests run: npm test - test-deno: - name: Test on Deno + test-deno-with-npm-create: + name: Test on Deno using 'npm create' runs-on: ubuntu-latest steps: - uses: actions/setup-node@v4 # needed to call the scaffolding `npm create` command @@ -64,3 +64,16 @@ jobs: run: npm create oak-deno@latest -- -y - name: Perform Tests run: deno task test + + test-deno-with-deno-init: + name: Test on Deno using 'deno init' + runs-on: ubuntu-latest + steps: + - name: Setup Deno + uses: denoland/setup-deno@v2 + with: + deno-version: v2.x + - name: Scaffold App + run: deno run -A npm:create-oak-deno@latest -- -y + - name: Perform Tests + run: deno task test