-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Closed
Description
The Test and upload documentation to artifacts workflow is now failing for v18.x-staging
. It looks to be caused by calling actions/setup-node
with lts/*
which now picks up Node.js 22.
e.g.
- https://github.com/nodejs/node/actions/runs/11651030870/job/32440486759 ran with Node.js 20.18.0 and passed.
- https://github.com/nodejs/node/actions/runs/11682099987/job/32528534043 ran with Node.js 22.11.0 and failed.
Example failure:
=== release test-doctool-json ===
Path: doctool/test-doctool-json
Error: --- stderr ---
node:assert:137
throw err;
^
AssertionError [ERR_ASSERTION]: Unexpected global(s) found: navigator
at process.<anonymous> (/home/runner/work/node/node/test/common/index.js:394:14)
at process.emit (node:events:530:35) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: undefined,
operator: 'fail'
}
Node.js v22.11.0
Command: /opt/hostedtoolcache/node/22.11.0/x64/bin/node /home/runner/work/node/node/test/doctool/test-doctool-json.mjs
cc @nodejs/releasers @nodejs/actions
Metadata
Metadata
Assignees
Labels
No labels