From 0f9f8aa08cd978e641526b6495ca765d7aa6d287 Mon Sep 17 00:00:00 2001 From: Martin Costello Date: Mon, 29 Sep 2025 11:16:16 +0100 Subject: [PATCH 1/2] Update Node.js v24 Update GitHub Actions workflows to use Node.js v24. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a13438a5..dc16383a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: - name: Setup Node uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 with: - node-version: '22' + node-version: '24' - name: Build and Test shell: pwsh From 6920382f39a9513f313ee1cdadc06768bfe387c9 Mon Sep 17 00:00:00 2001 From: martincostello Date: Mon, 29 Sep 2025 14:52:36 +0100 Subject: [PATCH 2/2] Fix command Explicitly use `pwsh` to fix environment variable syntax on Windows 2025 runners. --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dc16383a..6069e3b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,7 +61,8 @@ jobs: run: ./build.ps1 - name: Install Spectral - run: npm install -g "@stoplight/spectral-cli@${SPECTRAL_CLI_VERSION}" + shell: pwsh + run: npm install -g "@stoplight/spectral-cli@${env:SPECTRAL_CLI_VERSION}" - name: Run Spectral run: spectral lint "./artifacts/openapi/*" --fail-severity warn --format github-actions