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 18, 2024
1 parent c7effe1 commit 0acb256
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 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
12 changes: 10 additions & 2 deletions .pipelines/vscode-powershell-Official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,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 @@ -120,9 +124,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 @@ -198,6 +202,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 0acb256

Please sign in to comment.