@@ -2,6 +2,9 @@ import { WebAppStack } from '../../models/WebAppStackModel';
2
2
import { getDateString } from '../date-utilities' ;
3
3
4
4
const getNodeStack : ( useIsoDateFormat : boolean ) => WebAppStack = ( useIsoDateFormat : boolean ) => {
5
+ const node22EOL = getDateString ( new Date ( '2027/04/30' ) , useIsoDateFormat ) ;
6
+ const node20EOL = getDateString ( new Date ( '2026/04/30' ) , useIsoDateFormat ) ;
7
+ const node18EOL = getDateString ( new Date ( '2025/03/30' ) , useIsoDateFormat ) ;
5
8
const node16EOL = getDateString ( new Date ( '2023/09/11' ) , useIsoDateFormat ) ;
6
9
const node14EOL = getDateString ( new Date ( '2023/04/30' ) , useIsoDateFormat ) ;
7
10
const node12EOL = getDateString ( new Date ( '2022/04/01' ) , useIsoDateFormat ) ;
@@ -63,6 +66,7 @@ const getNodeStack: (useIsoDateFormat: boolean) => WebAppStack = (useIsoDateForm
63
66
supportedFeatures : {
64
67
disableSsh : true ,
65
68
} ,
69
+ endOfLifeDate : node20EOL ,
66
70
} ,
67
71
windowsRuntimeSettings : {
68
72
runtimeVersion : '~20' ,
@@ -74,7 +78,8 @@ const getNodeStack: (useIsoDateFormat: boolean) => WebAppStack = (useIsoDateForm
74
78
gitHubActionSettings : {
75
79
isSupported : true ,
76
80
supportedVersion : '20.x' ,
77
- }
81
+ } ,
82
+ endOfLifeDate : node20EOL ,
78
83
} ,
79
84
} ,
80
85
} ,
@@ -102,6 +107,7 @@ const getNodeStack: (useIsoDateFormat: boolean) => WebAppStack = (useIsoDateForm
102
107
supportedFeatures : {
103
108
disableSsh : true ,
104
109
} ,
110
+ endOfLifeDate : node18EOL ,
105
111
} ,
106
112
windowsRuntimeSettings : {
107
113
runtimeVersion : '~18' ,
@@ -114,6 +120,7 @@ const getNodeStack: (useIsoDateFormat: boolean) => WebAppStack = (useIsoDateForm
114
120
isSupported : true ,
115
121
supportedVersion : '18.x' ,
116
122
} ,
123
+ endOfLifeDate : node18EOL ,
117
124
} ,
118
125
} ,
119
126
} ,
0 commit comments