Skip to content

Commit 1fa8550

Browse files
authored
fix: add node 22 support for AWS (#560)
Co-authored-by: Rob Beal <[email protected]>
1 parent 4a66070 commit 1fa8550

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/helper.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export type ScalewayNodeProviderRuntimeMatcher<Versions extends number> = {
231231
[Version in Versions as `node${Version}`]: `node${Version}`;
232232
};
233233

234-
export type AwsNodeMatcher = AwsNodeProviderRuntimeMatcher<12 | 14 | 16 | 18 | 20>;
234+
export type AwsNodeMatcher = AwsNodeProviderRuntimeMatcher<12 | 14 | 16 | 18 | 20 | 22>;
235235

236236
export type AzureNodeMatcher = AzureNodeProviderRuntimeMatcher<12 | 14 | 16 | 18>;
237237

@@ -252,6 +252,7 @@ export type ScalewayNodeMatcherKey = keyof ScalewayNodeMatcher;
252252
export type NodeMatcherKey = AwsNodeMatcherKey | AzureNodeMatcherKey | GoogleNodeMatcherKey | ScalewayNodeMatcherKey;
253253

254254
const awsNodeMatcher: AwsNodeMatcher = {
255+
'nodejs22.x': 'node22',
255256
'nodejs20.x': 'node20',
256257
'nodejs18.x': 'node18',
257258
'nodejs16.x': 'node16',

0 commit comments

Comments
 (0)