Skip to content

Commit

Permalink
build: pin doc workflow to Node.js 20
Browse files Browse the repository at this point in the history
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: #55755
Fixes: #55754
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
richardlau authored and aduh95 committed Nov 7, 2024
1 parent 93670de commit 4c2e07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
cancel-in-progress: true

env:
NODE_VERSION: lts/*
NODE_VERSION: 20

permissions:
contents: read
Expand Down

0 comments on commit 4c2e07a

Please sign in to comment.