From 4c2e07aaac31eb53b05486b165a9fb33dcc5d66e Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Wed, 6 Nov 2024 17:36:49 +0000 Subject: [PATCH] build: pin doc workflow to Node.js 20 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To save time, the `.github/workflows/doc.yml` workflow runs with a pre-built Node.js. The switch of `lts/*` to Node.js 22 has broken this workflow for Node.js 20 and 18 due to a mismatch in globals. Pin the version of Node.js back to 20. PR-URL: /~https://github.com/nodejs/node/pull/55755 Fixes: /~https://github.com/nodejs/node/issues/55754 Reviewed-By: Michaƫl Zasso Reviewed-By: Antoine du Hamel Reviewed-By: Rafael Gonzaga Reviewed-By: Luigi Pinca --- .github/workflows/doc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 36e8fbf0b99bd6..ea69074e1b41c2 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -14,7 +14,7 @@ concurrency: cancel-in-progress: true env: - NODE_VERSION: lts/* + NODE_VERSION: 20 permissions: contents: read