Skip to content

Commit

Permalink
Node 22 support (#7283)
Browse files Browse the repository at this point in the history
Co-authored-by: Gytis Cepkauskas <GytisCepk@users.noreply.github.com>
Co-authored-by: Arun George <11051042+aruniverse@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 30, 2024
1 parent 544bc8e commit 5b00be9
Show file tree
Hide file tree
Showing 37 changed files with 201 additions and 81 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/analytical-backend",
"comment": "Add support for Node 22",
"type": "none"
}
],
"packageName": "@itwin/analytical-backend"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/core-backend",
"comment": "Add support for Node 22",
"type": "none"
}
],
"packageName": "@itwin/core-backend"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/core-electron",
"comment": "",
"type": "none"
}
],
"packageName": "@itwin/core-electron"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/core-extension",
"comment": "Add support for Node 22",
"type": "none"
}
],
"packageName": "@itwin/core-extension"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/core-mobile",
"comment": "",
"type": "none"
}
],
"packageName": "@itwin/core-mobile"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/editor-backend",
"comment": "Add support for Node 22",
"type": "none"
}
],
"packageName": "@itwin/editor-backend"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/express-server",
"comment": "Add support for Node 22",
"type": "none"
}
],
"packageName": "@itwin/express-server"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/linear-referencing-backend",
"comment": "Add support for Node 22",
"type": "none"
}
],
"packageName": "@itwin/linear-referencing-backend"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@itwin/physical-material-backend",
"comment": "Add support for Node 22",
"type": "none"
}
],
"packageName": "@itwin/physical-material-backend"
}
8 changes: 4 additions & 4 deletions common/config/azure-pipelines/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
- job:
strategy:
matrix:
"Windows_Node_20":
"Windows_Node_22":
OS: windows-latest
"Linux_Node_20":
"Linux_Node_22":
OS: ubuntu-latest
"MacOS_Node_20":
"MacOS_Node_22":
OS: macOS-latest

pool:
Expand All @@ -46,4 +46,4 @@ jobs:
- checkout: self
- template: ./templates/core-build.yaml
parameters:
nodeVersion: 20.x
nodeVersion: 22.x
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variables:
- group: iModel.js Integration Test Users

jobs:
- job: Node_20_x
- job: Node_22_x
condition: succeeded()
pool:
vmImage: ubuntu-latest
Expand All @@ -23,4 +23,4 @@ jobs:

- template: templates/integration-test-steps.yaml
parameters:
nodeVersion: 20.x
nodeVersion: 22.x
5 changes: 2 additions & 3 deletions common/config/azure-pipelines/integration-pr-validation.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# iTwin.js Core Integration PR Validation Build
#
# This integration test job currently run on all supported Node Versions of iTwin.js.
# To decrease build load, only the latest Node version is tested on pull requests.
# All other versions are run on `master` and `release/*` branches.
#
Expand Down Expand Up @@ -30,7 +29,7 @@ variables:
- group: iTwin.js Integration Test Users

jobs:
- job: Node_20_x
- job: Node_22_x
condition: succeeded()
pool:
vmImage: ubuntu-latest
Expand All @@ -41,4 +40,4 @@ jobs:

- template: templates/integration-test-steps.yaml
parameters:
nodeVersion: 20.x
nodeVersion: 22.x
13 changes: 11 additions & 2 deletions common/config/azure-pipelines/integration-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
nodeVersion: 18.x
Windows_node_18_x:
imageName: windows-latest
nodeVersion: 18.16.1
nodeVersion: 18.x
MacOS_node_18_x:
imageName: macos-latest
nodeVersion: 18.x
Expand All @@ -35,10 +35,19 @@ jobs:
nodeVersion: 20.x
Windows_node_20_x:
imageName: windows-latest
nodeVersion: 20.12.1
nodeVersion: 20.x
MacOS_node_20_x:
imageName: macos-latest
nodeVersion: 20.x
Linux_node_22_x:
imageName: macos-latest
nodeVersion: 22.x
Windows_node_22_x:
imageName: macos-latest
nodeVersion: 22.x
MacOS_node_22_x:
imageName: macos-latest
nodeVersion: 22.x
pool:
vmImage: $(imageName)
steps:
Expand Down
10 changes: 5 additions & 5 deletions common/config/azure-pipelines/jobs/fast-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@ jobs:
condition: succeeded()
strategy:
matrix:
"Windows_Node_20":
"Windows_Node_22":
platform: Windows_NT
name: $(win_pool)
"Linux_Node_20":
"Linux_Node_22":
platform: Linux
name: $(linux_pool)
"MacOS_Node_20":
"MacOS_Node_22":
platform: Darwin
name: $(mac_pool)

Expand All @@ -135,12 +135,12 @@ jobs:
clean: true
- template: ../templates/core-build.yaml
parameters:
nodeVersion: 20.x
nodeVersion: 22.x
buildMobile: true
# Will run if even there is a failure somewhere else in the pipeline.
- template: ../templates/publish-test-results.yaml
parameters:
nodeVersion: 20.x
nodeVersion: 22.x
# The publish script identifies any new packages not previously published and tags the build
- template: ../templates/publish.yaml

Expand Down
15 changes: 15 additions & 0 deletions common/config/azure-pipelines/jobs/regression-testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,21 @@ jobs:

strategy:
matrix:
"Windows_Node_20_x":
OS: windows-latest
platform: Windows_NT
name: $(win_pool)
node_version: 20.x
"Linux_Node_20_x":
OS: ubuntu-latest
platform: Linux
name: $(linux_pool)
node_version: 20.x
"MacOS_Node_20_x":
OS: macOS-latest
platform: Darwin
name: $(mac_pool)
node_version: 20.x
"Windows_Node_18_12_0":
OS: windows-latest
platform: Windows_NT
Expand Down
34 changes: 17 additions & 17 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5b00be9

Please sign in to comment.