Skip to content

Commit ce827fc

Browse files
fix: add node22 support for scaleway (#571)
* feat: add node22 support for scaleway * ci: pin v20.18.3 in matrix
1 parent c3c00e5 commit ce827fc

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/pull.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [18, 20, 22.11.0]
13+
node-version: [18, 20.18.3, 22.11.0]
1414
steps:
1515
- uses: actions/checkout@v3
1616
- name: Use Node.js ${{ matrix.node-version }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [18, 20, 22.11.0]
13+
node-version: [18, 20.18.3, 22.11.0]
1414
steps:
1515
- uses: actions/checkout@v3
1616
- name: Use Node.js ${{ matrix.node-version }}

src/helper.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export type AzureNodeMatcher = AzureNodeProviderRuntimeMatcher<12 | 14 | 16 | 18
237237

238238
export type GoogleNodeMatcher = GoogleNodeProviderRuntimeMatcher<12 | 14 | 16 | 18 | 20>;
239239

240-
export type ScalewayNodeMatcher = ScalewayNodeProviderRuntimeMatcher<12 | 14 | 16 | 18 | 20>;
240+
export type ScalewayNodeMatcher = ScalewayNodeProviderRuntimeMatcher<12 | 14 | 16 | 18 | 20 | 22>;
241241

242242
export type NodeMatcher = AwsNodeMatcher & AzureNodeMatcher & GoogleNodeMatcher & ScalewayNodeMatcher;
243243

@@ -276,6 +276,7 @@ const googleNodeMatcher: GoogleNodeMatcher = {
276276
};
277277

278278
const scalewayNodeMatcher: ScalewayNodeMatcher = {
279+
node22: 'node22',
279280
node20: 'node20',
280281
node18: 'node18',
281282
node16: 'node16',

0 commit comments

Comments
 (0)