From c594bc9237dba58ccc4061d6cc5a9b68d88c5f39 Mon Sep 17 00:00:00 2001 From: Rob Beal Date: Fri, 22 Nov 2024 15:06:52 +0000 Subject: [PATCH] chore: add node 22 support for AWS --- 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',