Skip to content

Commit b4fb56b

Browse files
committed
Update required node version to v22 and required dotnet to 10.0
1 parent 97862cd commit b4fb56b

File tree

12 files changed

+38
-39
lines changed

12 files changed

+38
-39
lines changed

.github/workflows/branch-snap.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
- name: Install NodeJS
2929
uses: actions/setup-node@v4
3030
with:
31-
node-version: '18.x'
32-
- name: Install dependencies
31+
node-version: '22.x'
32+
- name: Install dependencies
3333
run: npm ci
3434
- name: Update version.json
3535
run: |
@@ -59,8 +59,8 @@ jobs:
5959
- name: Install NodeJS
6060
uses: actions/setup-node@v4
6161
with:
62-
node-version: '18.x'
63-
- name: Install dependencies
62+
node-version: '22.x'
63+
- name: Install dependencies
6464
run: npm ci
6565
- name: Update version.json for release
6666
run: npx gulp updateVersionForStableRelease

.github/workflows/copilot-setup-steps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ jobs:
2828
# Install Node.js (required for TypeScript compilation and npm packages)
2929
- uses: actions/setup-node@v4
3030
with:
31-
node-version: '20'
31+
node-version: '22'
3232
cache: 'npm'
3333

3434
# Install .NET SDK (required for some build components and MSBuild tasks)
3535
- uses: actions/setup-dotnet@v4
3636
with:
37-
dotnet-version: '8.0.x'
37+
dotnet-version: '10.0.x'
3838

3939
# Install npm dependencies
4040
- name: Install dependencies
@@ -52,4 +52,4 @@ jobs:
5252
- name: Install dependencies
5353
run: gulp installDependencies
5454

55-
55+

.github/workflows/update-changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install NodeJS
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: '20.x'
25+
node-version: '22.x'
2626
- name: Install dependencies
2727
run: npm ci
2828
- name: Update CHANGELOG

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ Setting up your local development environment for the vscode-csharp repository i
2323

2424
Before you start, make sure you have the following software installed on your machine:
2525

26-
* Node.js v20 ([v20.17.0 LTS](https://nodejs.org/en/blog/release/v20.17.0)).
26+
* Node.js v22 ([22.17.0 LTS](https://nodejs.org/en/blog/release/v22.17.0)).
2727
* Note - Building with higher major versions of Node.js is not advised - it may work but we do not test it.
2828
* Npm (The version shipped with node is fine)
29-
* .NET 8.0 SDK (dotnet should be on your path)
29+
* .NET 10.0 SDK (dotnet should be on your path)
3030

3131
Once you have these installed, you can navigate to the cloned vscode-csharp repository to proceed with building, running, and testing the repository.
3232

azure-pipelines/build-vsix.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,11 @@ stages:
133133
inputs:
134134
versionSpec: 3.11
135135

136-
# Non-windows signing requires .NET 8 installed on the machine.
136+
# Non-windows signing requires .NET 10 installed on the machine.
137137
- task: UseDotNet@2
138-
displayName: Use .NET Core sdk 8.0.x
138+
displayName: Use .NET Core sdk 10.0.x
139139
inputs:
140-
version: 8.0.x
140+
version: 10.0.x
141141

142142
# If we're in an official build, install the signing plugin
143143
- ${{ if eq(parameters.isOfficial, true) }}:

azure-pipelines/green-insertion.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
displayName: ⚙️ Install Node.js
3636
inputs:
3737
versionSource: spec
38-
versionSpec: 16.x
38+
versionSpec: 22.x
3939
- powershell: |
4040
"registry=https://pkgs.dev.azure.com/devdiv/DevDiv/_packaging/vs-green/npm/registry/`nalways-auth=true`n" | Tee-Object -FilePath '$(Pipeline.Workspace)/.npmrc'
4141
displayName: ⚙️ Prepare for publish

azure-pipelines/install-node.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
steps:
22
- task: NodeTool@0
3-
displayName: 'Install Node.js 20.x'
3+
displayName: 'Install Node.js 22.x'
44
inputs:
5-
versionSpec: '20.x'
5+
versionSpec: '22.x'

azure-pipelines/loc.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,15 @@ extends:
5959
artifactName: l10n
6060
steps:
6161
- task: NodeTool@0
62-
displayName: 'Install Node.js 18.x'
62+
displayName: 'Install Node.js 22.x'
6363
inputs:
64-
# Octokit client needs 18.x to have 'fetch' function.
65-
versionSpec: '18.x'
64+
versionSpec: '22.x'
6665
- checkout: self
6766
clean: true
6867
submodules: true
6968
fetchTags: false
7069
fetchDepth: 0
71-
- pwsh: |
70+
- pwsh: |
7271
npm install
7372
npm install -g gulp --globalconfig $(Build.SourcesDirectory)/.npmrc
7473
displayName: 'Install tools'

msbuild/global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"sdk": {
3-
"version": "8.0.415",
3+
"version": "10.0.101",
44
"rollForward": "latestMajor"
55
},
66
"msbuild-sdks": {
77
"Microsoft.Build.NoTargets": "3.7.0"
88
}
9-
}
9+
}

package-lock.json

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)