From 51b2f522969741e7cf5f86b2cae6d143fec963c5 Mon Sep 17 00:00:00 2001 From: Michael Moss Date: Tue, 31 Mar 2026 03:54:25 -0700 Subject: [PATCH] Workaround for TypeScript `'outFile' is deprecated` errors. PiperOrigin-RevId: 892241799 Change-Id: Ibe028d453f35f5e03bdf66418bc4b45c20e807d3 --- .github/workflows/build_steps.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build_steps.sh b/.github/workflows/build_steps.sh index 7286aca6..6c8877d4 100755 --- a/.github/workflows/build_steps.sh +++ b/.github/workflows/build_steps.sh @@ -62,6 +62,12 @@ setup_emsdk() { git clone https://github.com/emscripten-core/emsdk.git ./emsdk/emsdk install 4.0.10 ./emsdk/emsdk activate 4.0.10 + # Force installing emscripten's typescript dependencies. This is a + # workaround for the github update to a newer typescript, which gives an + # error on the deprecated `--outFile` flag. + pushd emsdk/upstream/emscripten + npm i + popd }