tools: fix update-undici script
Some checks are pending
Coverage Linux (without intl) / coverage-linux-without-intl (push) Waiting to run
Coverage Linux / coverage-linux (push) Waiting to run
Coverage Windows / coverage-windows (push) Waiting to run
Test and upload documentation to artifacts / build-docs (push) Waiting to run
Linters / lint-addon-docs (push) Waiting to run
Linters / lint-cpp (push) Waiting to run
Linters / format-cpp (push) Waiting to run
Linters / lint-js-and-md (push) Waiting to run
Linters / lint-py (push) Waiting to run
Linters / lint-yaml (push) Waiting to run
Linters / lint-sh (push) Waiting to run
Linters / lint-codeowners (push) Waiting to run
Linters / lint-pr-url (push) Waiting to run
Linters / lint-readme (push) Waiting to run
Notify on Push / Notify on Force Push on `main` (push) Waiting to run
Notify on Push / Notify on Push on `main` that lacks metadata (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run

The `build:node` npm script now expects esbuild to be installed and
bin-linked.

Closes: https://github.com/nodejs/node/issues/56061
PR-URL: https://github.com/nodejs/node/pull/56069
Fixes: https://github.com/nodejs/node/issues/56061
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
Michaël Zasso 2024-11-29 10:09:04 +01:00 committed by GitHub
parent 4efb7ae454
commit 61b077d346
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,7 +80,7 @@ cd "$ROOT"
# Rebuild components from source
rm lib/llhttp/llhttp*.*
"$NODE" "$NPM" install --no-bin-link --ignore-scripts
"$NODE" "$NPM" install --ignore-scripts
"$NODE" "$NPM" run build:wasm > lib/llhttp/wasm_build_env.txt
"$NODE" "$NPM" run build:node
"$NODE" "$NPM" prune --production