Skip to content

Commit

Permalink
fix: add node 22 support for AWS (#560)
Browse files Browse the repository at this point in the history
Co-authored-by: Rob Beal <robertbeal@users.noreply.github.com>
  • Loading branch information
robertbeal and robertbeal authored Nov 22, 2024
1 parent 4a66070 commit 1fa8550
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export type ScalewayNodeProviderRuntimeMatcher<Versions extends number> = {
[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>;

Expand All @@ -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',
Expand Down

0 comments on commit 1fa8550

Please sign in to comment.