From 27d068569a4f300a3d76fdb1997276a8cffc724b Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Tue, 14 Nov 2023 13:16:01 -0800 Subject: [PATCH] Remove Node.js tool installer task from web ci pipeline (#18434) EMSDK already has a nodejs. We will use that one to be more consistent(the CI build pipeline would be less dependent on the VM image). --- .../github/azure-pipelines/templates/build-linux-wasm-step.yml | 1 + .../github/azure-pipelines/templates/linux-wasm-ci.yml | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/ci_build/github/azure-pipelines/templates/build-linux-wasm-step.yml b/tools/ci_build/github/azure-pipelines/templates/build-linux-wasm-step.yml index 82a86e2ec8018..56f6bd56eeed7 100644 --- a/tools/ci_build/github/azure-pipelines/templates/build-linux-wasm-step.yml +++ b/tools/ci_build/github/azure-pipelines/templates/build-linux-wasm-step.yml @@ -38,6 +38,7 @@ steps: - ${{if eq(parameters.WithCache, true)}}: - script: | + set -e -x pushd '$(Build.SourcesDirectory)/cmake/external/emsdk' source ./emsdk_env.sh export PATH=$(Build.SourcesDirectory)/cmake/external/emsdk/:$PATH diff --git a/tools/ci_build/github/azure-pipelines/templates/linux-wasm-ci.yml b/tools/ci_build/github/azure-pipelines/templates/linux-wasm-ci.yml index 5bd241d1170fa..f81b1ddc8b93b 100644 --- a/tools/ci_build/github/azure-pipelines/templates/linux-wasm-ci.yml +++ b/tools/ci_build/github/azure-pipelines/templates/linux-wasm-ci.yml @@ -81,9 +81,6 @@ jobs: versionSpec: '3.8' addToPath: true architecture: $(buildArch) - - task: NodeTool@0 - inputs: - versionSpec: '18.x' - template: download-deps.yml - task: PythonScript@0