From 44c5eab638ec3810ae5e1fb4709ec3e1b01a66ed Mon Sep 17 00:00:00 2001 From: mulahasanovic Date: Tue, 14 Apr 2026 09:38:02 +0200 Subject: [PATCH] ci: expand node matrix for unit tests, bump base workflows to node 22 --- .github/workflows/build-unit-tests.yml | 3 ++- .github/workflows/generateDocs.yml | 2 +- .github/workflows/npmpublish.yml | 2 +- .github/workflows/server-tests.yml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-unit-tests.yml b/.github/workflows/build-unit-tests.yml index 291ad13..73fd007 100644 --- a/.github/workflows/build-unit-tests.yml +++ b/.github/workflows/build-unit-tests.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [lts/iron] + node-version: [20, 22, 24] steps: - uses: actions/checkout@v2 @@ -53,6 +53,7 @@ jobs: # For some reason if coverage report action is run before other commands, those commands can't access the directories and files on which they depend on - name: Generate coverage report + if: matrix.node-version == 22 uses: artiomtr/jest-coverage-report-action@v2.0-rc.2 with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/generateDocs.yml b/.github/workflows/generateDocs.yml index 7371365..9d3047f 100644 --- a/.github/workflows/generateDocs.yml +++ b/.github/workflows/generateDocs.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - node-version: [lts/iron] + node-version: [22] steps: - name: Checkout diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 1442df4..9fa170a 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [lts/iron] + node-version: [22] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/server-tests.yml b/.github/workflows/server-tests.yml index 722332d..1b16039 100644 --- a/.github/workflows/server-tests.yml +++ b/.github/workflows/server-tests.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [lts/iron] + node-version: [22] steps: - uses: actions/checkout@v2