Skip to content

Commit d762d90

Browse files
committed
Use Node.js 20.x in OneBranch
1 parent 94debb4 commit d762d90

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/ci-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
- uses: actions/setup-node@v4
4848
with:
49-
node-version: 18
49+
node-version: 20
5050
cache: npm
5151
cache-dependency-path: vscode-powershell/package-lock.json
5252

.pipelines/vscode-powershell-Official.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ extends:
5757
EnableCDPxPAT: false
5858
WindowsHostVersion:
5959
Version: 2022
60-
Network: Netlock
60+
Network: KS3
6161
stages:
6262
- stage: build
6363
jobs:
@@ -83,6 +83,10 @@ extends:
8383
inputs:
8484
system: Custom
8585
customVersion: $(package.version)
86+
- task: UseNode@1
87+
displayName: Use Node 20.x
88+
inputs:
89+
version: 20.x
8690
- task: DownloadPipelineArtifact@2
8791
displayName: Download PowerShellEditorServices
8892
inputs:
@@ -121,9 +125,9 @@ extends:
121125
skipComponentGovernanceDetection: true
122126
steps:
123127
- task: UseNode@1
124-
displayName: Use Node 18.x
128+
displayName: Use Node 20.x
125129
inputs:
126-
version: 18.x
130+
version: 20.x
127131
- task: UseDotNet@2
128132
displayName: Use .NET 8.x SDK
129133
inputs:
@@ -199,6 +203,10 @@ extends:
199203
steps:
200204
- download: current
201205
displayName: Download artifacts
206+
- task: UseNode@1
207+
displayName: Use Node 20.x
208+
inputs:
209+
version: 20.x
202210
- pwsh: npm ci
203211
displayName: Install NPM packages (for vsce)
204212
- task: AzureCLI@2

0 commit comments

Comments
 (0)