From 7dbe910ddf0b42c4e7b5e8b9b03cccd57ed79228 Mon Sep 17 00:00:00 2001 From: Alex Sorafumo Date: Fri, 2 Oct 2026 13:12:33 +1000 Subject: [PATCH] ci: run unit tests on Node 24 The test job used the runner image default, Node 22, while install_deps pins Node 24. Web APIs such as Response.blob() differ between the two, so tests could pass locally and fail in CI. The build job is unchanged. --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e9be452899..371b466bf44 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -164,6 +164,13 @@ jobs: ${{ runner.os }}-nx-${{matrix.package}}- ${{ runner.os }}-nx- + # Match install_deps. The runner image default (Node 22) differs + # from local runs in web APIs such as Response.blob(). + - name: Setup Node.js environment + uses: actions/setup-node@v6 + with: + node-version: '24' + - name: Setup Bun uses: oven-sh/setup-bun@v2 with: