From 42dae2960f48f5e1aca535dafb8613f09e0bd0cf Mon Sep 17 00:00:00 2001 From: ymc9 <104139426+ymc9@users.noreply.github.com> Date: Wed, 9 Sep 2026 22:23:48 -0700 Subject: [PATCH] ci: pin publish-and-release job to Node 22.x Node 24.20.0 tightened WHATWG URL parsing, so resolving a path-absolute $ref against jsonschema's opaque `thismessage::/` base now throws ERR_INVALID_URL. That breaks `langium generate` (via jsonschema@1.5.0) and fails the language package build in the publish workflow. jsonschema@1.5.0 is the latest release, so pin the job to Node 22.x, matching the rest of CI. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/publish-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 8c2f6ffa1..54dabc65f 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -29,7 +29,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 24.x + node-version: 22.x cache: 'pnpm' registry-url: 'https://registry.npmjs.org'