From 36e15785e9301c33e679d3381e6d5d211f271dd4 Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Tue, 26 May 2026 09:37:04 +0100 Subject: [PATCH] feat: add deno testing --- .github/workflows/js-test-and-release.yml | 25 ++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.github/workflows/js-test-and-release.yml b/.github/workflows/js-test-and-release.yml index 6bf0a73..9815ef4 100644 --- a/.github/workflows/js-test-and-release.yml +++ b/.github/workflows/js-test-and-release.yml @@ -81,6 +81,29 @@ jobs: fail_ci_if_error: false disable_safe_directory: ${{ runner.os == 'Windows' }} # NOTE: The workspace on Windows runners is on the C: drive and the codecov action is unable to lock the git directory on it + test-deno: + needs: build + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-latest, ubuntu-latest, macos-latest] + node: [lts/*] + fail-fast: true + steps: + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 + with: + node-version: ${{ matrix.node }} + - uses: ipfs/aegir/actions/cache-node-modules@main + - run: npm run --if-present test:deno + - uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0 + with: + flags: deno + files: .coverage/*,packages/*/.coverage/* + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: false + disable_safe_directory: ${{ runner.os == 'Windows' }} # NOTE: The workspace on Windows runners is on the C: drive and the codecov action is unable to lock the git directory on it + test-chrome: needs: build runs-on: ubuntu-latest @@ -240,7 +263,7 @@ jobs: fail_ci_if_error: false release-check: - needs: [test-node, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-webkit, test-webkit-webworker, test-electron-main, test-electron-renderer] + needs: [test-node, test-deno, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-webkit, test-webkit-webworker, test-electron-main, test-electron-renderer] runs-on: ubuntu-latest if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' outputs: