From 480b812db967de0feb2f8b2603d06c899f26a8eb Mon Sep 17 00:00:00 2001 From: Victor Azevedo Date: Thu, 24 Oct 2024 11:12:36 +0200 Subject: [PATCH] Use deno in github actions --- .github/workflows/test.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..51d59ea --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,22 @@ +name: Tests + +on: + push: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + + - uses: denoland/setup-deno@v2 + with: + deno-version: v2.x + + - run: deno test --allow-net \ No newline at end of file