From 265fef9d19a50799446dbb2e38a6d0d900301cb5 Mon Sep 17 00:00:00 2001 From: jordydutch Date: Thu, 22 Oct 2026 11:33:23 +0200 Subject: [PATCH] fix: require patched Node 22 for documentation tooling --- .github/workflows/ci.yml | 4 ++-- .github/workflows/spellcheck.yml | 4 ++++ .github/workflows/tools-sync.yml | 4 ++++ .nvmrc | 1 + .tool-versions | 2 +- README.md | 2 ++ package.json | 2 +- 7 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 .nvmrc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e05b616bc..76aabfaee4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.23.4' cache: 'yarn' - name: Install ⚙️ @@ -44,7 +44,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.23.4' cache: 'yarn' - name: Install ⚙️ diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index beb74e82cb..5bcbef4f99 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -14,6 +14,10 @@ jobs: with: fetch-depth: 0 + - uses: actions/setup-node@v4 + with: + node-version: '22.23.4' + - name: Install ⚙️ run: yarn install --frozen-lockfile diff --git a/.github/workflows/tools-sync.yml b/.github/workflows/tools-sync.yml index 926e067bf0..2980a52be4 100644 --- a/.github/workflows/tools-sync.yml +++ b/.github/workflows/tools-sync.yml @@ -15,6 +15,10 @@ jobs: with: fetch-depth: 0 + - uses: actions/setup-node@v4 + with: + node-version: '22.23.4' + - name: Pull tools docs run: npm run docs:tools:sync diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000000..b8b23ca93c --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22.23.4 diff --git a/.tool-versions b/.tool-versions index e5fe1381f5..7d26148d0d 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -nodejs 20 +nodejs 22.23.4 yarn 3.6.1 diff --git a/README.md b/README.md index 6bdbd81963..0bd87409d7 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ Make sure to edit these tools in their respective repos, otherwise changes in th ## Installation +Use Node.js 22.23.4 or a newer patched 22.x release. + ```console yarn install ``` diff --git a/package.json b/package.json index 4aa0bad5fb..5825cd73a8 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "packageManager": "yarn@3.6.1", "engines": { "yarn": ">= 3.6.1", - "node": ">=18.0" + "node": ">=22.23.4 <23" }, "resolutions": { "tar": "7.5.10",