From 1fa8550703cbd7af31cd2ad402ba9b7813b7531f Mon Sep 17 00:00:00 2001 From: Robert Beal <296433+robertbeal@users.noreply.github.com> Date: Fri, 22 Nov 2024 15:17:17 +0000 Subject: [PATCH] fix: add node 22 support for AWS (#560) Co-authored-by: Rob Beal --- src/helper.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/helper.ts b/src/helper.ts index c408392..6fd6eab 100644 --- a/src/helper.ts +++ b/src/helper.ts @@ -231,7 +231,7 @@ export type ScalewayNodeProviderRuntimeMatcher = { [Version in Versions as `node${Version}`]: `node${Version}`; }; -export type AwsNodeMatcher = AwsNodeProviderRuntimeMatcher<12 | 14 | 16 | 18 | 20>; +export type AwsNodeMatcher = AwsNodeProviderRuntimeMatcher<12 | 14 | 16 | 18 | 20 | 22>; export type AzureNodeMatcher = AzureNodeProviderRuntimeMatcher<12 | 14 | 16 | 18>; @@ -252,6 +252,7 @@ export type ScalewayNodeMatcherKey = keyof ScalewayNodeMatcher; export type NodeMatcherKey = AwsNodeMatcherKey | AzureNodeMatcherKey | GoogleNodeMatcherKey | ScalewayNodeMatcherKey; const awsNodeMatcher: AwsNodeMatcher = { + 'nodejs22.x': 'node22', 'nodejs20.x': 'node20', 'nodejs18.x': 'node18', 'nodejs16.x': 'node16',