From f6d3044558cf0b14af635b7003d7f623a96d3e93 Mon Sep 17 00:00:00 2001 From: Gamaliel Garcia <46827955+EGAMAGZ@users.noreply.github.com> Date: Thu, 18 Apr 2024 11:53:07 -0600 Subject: [PATCH] ci(test): Created workflow to run tests --- .github/workflows/test.yaml | 18 ++++++++++++++++++ deno.json | 3 +++ 2 files changed, 21 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..d3689d2 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,18 @@ +name: Tests +on: + pull_request: + branches: [master] + push: + branches: ["*"] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Deno + uses: denoland/setup-deno@v1 + with: + deno-version: v1.x + - name: Run tests + run: deno test diff --git a/deno.json b/deno.json index 7b4e2cf..58d50bd 100644 --- a/deno.json +++ b/deno.json @@ -12,5 +12,8 @@ }, "imports": { "@std/testing": "https://deno.land/std@0.223.0/assert/mod.ts" + }, + "tasks": { + "doc": "deno doc --html --name='Paska Ovo' src" } }