Skip to content

Commit 58b88ee

Browse files
committed
Use Node.js 20.x in OneBranch
1 parent 64584fc commit 58b88ee

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/ci-test.yml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ extends:
8282
inputs:
8383
system: Custom
8484
customVersion: $(package.version)
85+
- task: UseNode@1
86+
displayName: Use Node 20.x
87+
inputs:
88+
version: 20.x
8589
- task: DownloadPipelineArtifact@2
8690
displayName: Download PowerShellEditorServices
8791
inputs:
@@ -120,9 +124,9 @@ extends:
120124
skipComponentGovernanceDetection: true
121125
steps:
122126
- task: UseNode@1
123-
displayName: Use Node 18.x
127+
displayName: Use Node 20.x
124128
inputs:
125-
version: 18.x
129+
version: 20.x
126130
- task: UseDotNet@2
127131
displayName: Use .NET 8.x SDK
128132
inputs:
@@ -198,6 +202,10 @@ extends:
198202
steps:
199203
- download: current
200204
displayName: Download artifacts
205+
- task: UseNode@1
206+
displayName: Use Node 20.x
207+
inputs:
208+
version: 20.x
201209
- pwsh: npm ci
202210
displayName: Install NPM packages (for vsce)
203211
- task: AzureCLI@2

0 commit comments

Comments
 (0)