Update Node.js version from 18.x to 20.x in CI pipelines (#22576)

This commit is contained in:
Yulong Wang 2024-10-24 07:34:42 -07:00 committed by GitHub
parent a910cedf73
commit ef7f1ce08b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 13 additions and 13 deletions

View file

@ -14,7 +14,7 @@ Refer to [ONNX Runtime JavaScript examples](https://github.com/microsoft/onnxrun
## Requirements
ONNXRuntime works on Node.js v16.x+ (recommend v18.x+) or Electron v15.x+ (recommend v28.x+).
ONNXRuntime works on Node.js v16.x+ (recommend v20.x+) or Electron v15.x+ (recommend v28.x+).
The following table lists the supported versions of ONNX Runtime Node.js binding provided with pre-built binaries.

View file

@ -75,7 +75,7 @@ stages:
- task: NodeTool@0
inputs:
versionSpec: '18.x'
versionSpec: '20.x'
- task: onebranch.pipeline.tsaoptions@1
displayName: 'OneBranch TSAOptions'

View file

@ -102,7 +102,7 @@ jobs:
- task: NodeTool@0
inputs:
versionSpec: '18.x'
versionSpec: '20.x'
force32bit: ${{ parameters.isX86 }}
# Our build machine doesn't have java x86

View file

@ -50,7 +50,7 @@ jobs:
versionSpec: 3.11
- task: NodeTool@0
inputs:
versionSpec: '18.x'
versionSpec: '20.x'
- task: JavaToolInstaller@0
inputs:

View file

@ -128,7 +128,7 @@ stages:
- task: NodeTool@0
inputs:
versionSpec: '18.x'
versionSpec: '20.x'
- script:
brew install coreutils ninja npm yarn

View file

@ -29,7 +29,7 @@ jobs:
- task: NodeTool@0
inputs:
versionSpec: '18.x'
versionSpec: '20.x'
- task: DownloadPipelineArtifact@2
inputs:
patterns: 'Release_*/**/*'

View file

@ -73,7 +73,7 @@ stages:
displayName: 'Checkout submodule onnx'
- task: NodeTool@0
inputs:
versionSpec: '18.x'
versionSpec: '20.x'
- template: linux-web-init-and-check.yml
- task: Bash@3
displayName: 'Extract commit SHA and save to __commit.txt'

View file

@ -136,7 +136,7 @@ stages:
- task: NodeTool@0
condition: and(succeeded(), eq('${{ parameters.buildNodejs}}', true))
inputs:
versionSpec: '18.x'
versionSpec: '20.x'
- ${{ if ne(parameters.CudaVersion, '') }}:
- template: jobs/download_win_gpu_library.yml
@ -367,7 +367,7 @@ stages:
- task: NodeTool@0
condition: and(succeeded(), eq('${{ parameters.buildNodejs}}', true))
inputs:
versionSpec: '18.x'
versionSpec: '20.x'
- ${{ if ne(parameters.CudaVersion, '') }}:
- template: jobs/download_win_gpu_library.yml

View file

@ -81,7 +81,7 @@ jobs:
architecture: $(buildArch)
- task: NodeTool@0
inputs:
versionSpec: '18.x'
versionSpec: '20.x'
- template: download-deps.yml
- task: PythonScript@0

View file

@ -74,7 +74,7 @@ jobs:
displayName: 'Testing: force EOL to lf on windows for /js/**'
- task: NodeTool@0
inputs:
versionSpec: '18.x'
versionSpec: '20.x'
- task: DownloadPipelineArtifact@2
inputs:
patterns: '${{ parameters.BuildConfig }}_*/**/*'

View file

@ -37,7 +37,7 @@ jobs:
displayName: 'Checkout submodule onnx'
- task: NodeTool@0
inputs:
versionSpec: '18.x'
versionSpec: '20.x'
- task: DownloadPipelineArtifact@2
inputs:
patterns: 'Release_*/**/*'

View file

@ -36,7 +36,7 @@ jobs:
- task: NodeTool@0
inputs:
versionSpec: '18.x'
versionSpec: '20.x'
- task: NuGetToolInstaller@0
displayName: Use Nuget 6.10.x