Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Adding EOL dates for NODE 18/20/22 #7943

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion server/src/stacks/2020-10-01/stacks/web-app-stacks/Node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import { WebAppStack } from '../../models/WebAppStackModel';
import { getDateString } from '../date-utilities';

const getNodeStack: (useIsoDateFormat: boolean) => WebAppStack = (useIsoDateFormat: boolean) => {
const node22EOL = getDateString(new Date('2027/04/30'), useIsoDateFormat);
const node20EOL = getDateString(new Date('2026/04/30'), useIsoDateFormat);
const node18EOL = getDateString(new Date('2025/03/30'), useIsoDateFormat);
const node16EOL = getDateString(new Date('2023/09/11'), useIsoDateFormat);
const node14EOL = getDateString(new Date('2023/04/30'), useIsoDateFormat);
const node12EOL = getDateString(new Date('2022/04/01'), useIsoDateFormat);
Expand Down Expand Up @@ -63,6 +66,7 @@ const getNodeStack: (useIsoDateFormat: boolean) => WebAppStack = (useIsoDateForm
supportedFeatures: {
disableSsh: true,
},
endOfLifeDate: node20EOL,
},
windowsRuntimeSettings: {
runtimeVersion: '~20',
Expand All @@ -74,7 +78,8 @@ const getNodeStack: (useIsoDateFormat: boolean) => WebAppStack = (useIsoDateForm
gitHubActionSettings: {
isSupported: true,
supportedVersion: '20.x',
}
},
endOfLifeDate: node20EOL,
},
},
},
Expand Down Expand Up @@ -102,6 +107,7 @@ const getNodeStack: (useIsoDateFormat: boolean) => WebAppStack = (useIsoDateForm
supportedFeatures: {
disableSsh: true,
},
endOfLifeDate: node18EOL,
},
windowsRuntimeSettings: {
runtimeVersion: '~18',
Expand All @@ -114,6 +120,7 @@ const getNodeStack: (useIsoDateFormat: boolean) => WebAppStack = (useIsoDateForm
isSupported: true,
supportedVersion: '18.x',
},
endOfLifeDate: node18EOL,
},
},
},
Expand Down
Loading