Skip to content

Commit 708c5d0

Browse files
[IOPLT-1066] Update Node version to 20 (#335)
Co-authored-by: Roberto Cocco <[email protected]>
1 parent d10808c commit 708c5d0

File tree

14 files changed

+44
-34
lines changed

14 files changed

+44
-34
lines changed

.changeset/short-seals-walk.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"io-sign-backoffice-func": minor
3+
"io-sign-backoffice-app": minor
4+
"io-func-sign-support": minor
5+
"io-func-sign-issuer": minor
6+
"io-func-sign-user": minor
7+
---
8+
9+
Upgraded Node to version 20

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.18.0
1+
20.19.2

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# see https://help.github.com/en/articles/about-code-owners#example-of-a-codeowners-file
22

3-
* @lucacavallaro @grausof
3+
* @lucacavallaro @grausof @pagopa/io-platform-contributors
44

55
# engineering-team-cloud-eng
66
/infra/ @pagopa/engineering-team-cloud-eng

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ It also contains `io-sign-selfcare-frontend` the frontend for self-care integrat
1717

1818
In order to run the `io-sign` back-end/front-end locally you need the following tool installed on your machine.
1919

20-
- `Node.js 16`
20+
- `Node.js 20`
2121
- `yarn 3`
2222

2323
The preferred way to set up the local environment is using [nodenv](https://github.com/nodenv/nodenv) to manage `Node.js` installation and `corepack` (included with `Node.js`) to manage the installation of `yarn`.

apps/io-func-sign-support/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@pagopa/eslint-config": "^3.0.0",
3030
"@pagopa/openapi-codegen-ts": "^12.0.2",
3131
"@rushstack/eslint-patch": "^1.2.0",
32-
"@types/node": "^18.15.5",
32+
"@types/node": "^20.17.6",
3333
"@vitest/coverage-c8": "^0.33.0",
3434
"azure-functions-core-tools": "^4.0.5455",
3535
"eslint": "^8.28.0",

apps/io-sign-backoffice-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"devDependencies": {
4444
"@babel/types": "^7.8.3",
45-
"@types/node": "^20.4.5",
45+
"@types/node": "^20.17.6",
4646
"@types/react": "^18.2.20",
4747
"@types/react-dom": "^18.2.7",
4848
"@typescript-eslint/eslint-plugin": "^6.5.0",

apps/io-sign-backoffice-func/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"devDependencies": {
2828
"@pagopa/eslint-config": "^3.0.0",
2929
"@rushstack/eslint-patch": "^1.5.1",
30-
"@types/node": "^20.8.8",
30+
"@types/node": "^20.17.6",
3131
"azure-functions-core-tools": "^4.0.5455",
3232
"eslint": "^8.50.0",
3333
"prettier": "2.7.1",

infra/resources/prod/io_sign_backoffice_app.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module "io_sign_backoffice_app" {
5353
plan_name = format("%s-backoffice-plan", local.project)
5454
sku_name = var.io_sign_backoffice_app.sku_name
5555

56-
node_version = "18-lts"
56+
node_version = "20-lts"
5757
health_check_path = "/health"
5858
app_command_line = "node server.js"
5959

@@ -124,7 +124,7 @@ module "io_sign_backoffice_app_staging_slot" {
124124
app_service_id = module.io_sign_backoffice_app.id
125125
app_service_name = module.io_sign_backoffice_app.name
126126

127-
node_version = "18-lts"
127+
node_version = "20-lts"
128128
health_check_path = "/health"
129129
app_command_line = "node server.js"
130130

infra/resources/prod/io_sign_backoffice_func.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module "io_sign_backoffice_func" {
2121
health_check_path = "/health"
2222
health_check_maxpingfailures = 2
2323

24-
node_version = "18"
24+
node_version = "20"
2525
runtime_version = "~4"
2626
always_on = true
2727

@@ -93,7 +93,7 @@ module "io_sign_backoffice_func_staging_slot" {
9393
storage_account_name = module.io_sign_backoffice_func.storage_account.name
9494
storage_account_access_key = module.io_sign_backoffice_func.storage_account.primary_access_key
9595

96-
node_version = "18"
96+
node_version = "20"
9797
runtime_version = "~4"
9898
always_on = true
9999
application_insights_instrumentation_key = data.azurerm_application_insights.application_insights.instrumentation_key

infra/resources/prod/io_sign_issuer_func.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module "io_sign_issuer_func" {
4747
health_check_path = "/api/v1/sign/info"
4848
health_check_maxpingfailures = 2
4949

50-
node_version = "18"
50+
node_version = "20"
5151
runtime_version = "~4"
5252
always_on = true
5353

@@ -106,7 +106,7 @@ module "io_sign_issuer_func_staging_slot" {
106106
storage_account_name = module.io_sign_issuer_func.storage_account.name
107107
storage_account_access_key = module.io_sign_issuer_func.storage_account.primary_access_key
108108

109-
node_version = "18"
109+
node_version = "20"
110110
runtime_version = "~4"
111111
always_on = true
112112
application_insights_instrumentation_key = data.azurerm_application_insights.application_insights.instrumentation_key

0 commit comments

Comments
 (0)