Skip to content

Commit

Permalink
Use Node.js 20.x in OneBranch
Browse files Browse the repository at this point in the history
  • Loading branch information
andyleejordan committed Sep 24, 2024
1 parent 94debb4 commit d762d90
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: npm
cache-dependency-path: vscode-powershell/package-lock.json

Expand Down
14 changes: 11 additions & 3 deletions .pipelines/vscode-powershell-Official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ extends:
EnableCDPxPAT: false
WindowsHostVersion:
Version: 2022
Network: Netlock
Network: KS3
stages:
- stage: build
jobs:
Expand All @@ -83,6 +83,10 @@ extends:
inputs:
system: Custom
customVersion: $(package.version)
- task: UseNode@1
displayName: Use Node 20.x
inputs:
version: 20.x
- task: DownloadPipelineArtifact@2
displayName: Download PowerShellEditorServices
inputs:
Expand Down Expand Up @@ -121,9 +125,9 @@ extends:
skipComponentGovernanceDetection: true
steps:
- task: UseNode@1
displayName: Use Node 18.x
displayName: Use Node 20.x
inputs:
version: 18.x
version: 20.x
- task: UseDotNet@2
displayName: Use .NET 8.x SDK
inputs:
Expand Down Expand Up @@ -199,6 +203,10 @@ extends:
steps:
- download: current
displayName: Download artifacts
- task: UseNode@1
displayName: Use Node 20.x
inputs:
version: 20.x
- pwsh: npm ci
displayName: Install NPM packages (for vsce)
- task: AzureCLI@2
Expand Down

0 comments on commit d762d90

Please sign in to comment.