From 06549c4a82927aaecbdae928e4fd18a9f7e7acae Mon Sep 17 00:00:00 2001 From: Zefir Kirilov Date: Mon, 30 Mar 2026 11:45:20 +0300 Subject: [PATCH 1/4] Added Deno to tests CI --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad15dce..c992f58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,6 +78,32 @@ jobs: - name: Test run: npm run test + test-deno: + name: Test on Deno + runs-on: ubuntu-latest + needs: build + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: Install Deno + uses: denoland/setup-deno@v2 + + - name: Install test dependencies + run: deno install + + - name: Download build artifact + uses: actions/download-artifact@v8 + with: + name: package + path: . + + - name: Extract build package + run: tar -xzf cldn-ip-0.0.0-dev.tgz --strip-components=1 -C . --overwrite + + - name: Test + run: deno task test + publish: name: Publish needs: build From 17f54c0a930c4b013f0a730a3cdadf2d68bd8a54 Mon Sep 17 00:00:00 2001 From: Zefir Kirilov Date: Mon, 30 Mar 2026 11:52:28 +0300 Subject: [PATCH 2/4] don't download build artifact for Deno since it can run TS --- .github/workflows/ci.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c992f58..b2e5033 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,15 +92,6 @@ jobs: - name: Install test dependencies run: deno install - - name: Download build artifact - uses: actions/download-artifact@v8 - with: - name: package - path: . - - - name: Extract build package - run: tar -xzf cldn-ip-0.0.0-dev.tgz --strip-components=1 -C . --overwrite - - name: Test run: deno task test From 9b15f40785788d645b1dd8ed053ff09ad9079712 Mon Sep 17 00:00:00 2001 From: Zefir Kirilov Date: Mon, 30 Mar 2026 11:53:56 +0300 Subject: [PATCH 3/4] no need to wait for build to run deno tests --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b2e5033..b859c7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,7 +81,6 @@ jobs: test-deno: name: Test on Deno runs-on: ubuntu-latest - needs: build steps: - name: Checkout repository uses: actions/checkout@v6 From a80b4678bd6716e88ee2a7d6472ca11553ae4c68 Mon Sep 17 00:00:00 2001 From: Zefir Kirilov Date: Mon, 30 Mar 2026 11:58:40 +0300 Subject: [PATCH 4/4] added type checking for the project --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b859c7b..264c7a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,6 +91,9 @@ jobs: - name: Install test dependencies run: deno install + - name: Check types + run: deno check src tests --sloppy-imports + - name: Test run: deno task test