Skip to content

Commit aaf3a50

Browse files
renovate[bot]zbrydonAaronMoat72636c
authored
deps: skuba 10.0.0 (#104)
* deps: skuba 10.0.0 * Run `skuba format` * Fix * Update package.json Co-authored-by: Aaron Moat <[email protected]> * Create thirty-poems-sneeze.md --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: skuba <> Co-authored-by: Zac Brydon <[email protected]> Co-authored-by: Aaron Moat <[email protected]> Co-authored-by: Ryan Ling <[email protected]>
1 parent 33b8a76 commit aaf3a50

File tree

12 files changed

+227
-538
lines changed

12 files changed

+227
-538
lines changed

.changeset/thirty-poems-sneeze.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@seek/aws-codedeploy-infra': minor
3+
---
4+
5+
HookStack: Upgrade hooks to Node.js 22

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Node.js
2727
uses: actions/setup-node@v4
2828
with:
29-
node-version: 20.x
29+
node-version: 22.x
3030

3131
- name: Set up pnpm
3232
run: corepack enable pnpm

.github/workflows/snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Node.js
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 20.x
26+
node-version: 22.x
2727

2828
- name: Set up pnpm
2929
run: corepack enable pnpm

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Node.js
3434
uses: actions/setup-node@v4
3535
with:
36-
node-version: 20.x
36+
node-version: 22.x
3737

3838
- name: Set up pnpm
3939
run: corepack enable pnpm

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
"devDependencies": {
1818
"@changesets/cli": "2.28.1",
1919
"@changesets/get-github-info": "0.6.0",
20-
"@types/node": "^20.10.6",
20+
"@types/node": "^22.13.14",
2121
"dotenv": "16.4.7",
2222
"esbuild": "~0.25.0",
23-
"skuba": "9.1.0"
23+
"skuba": "10.1.0"
2424
},
2525
"packageManager": "[email protected]",
2626
"engines": {
@@ -30,6 +30,6 @@
3030
"entryPoint": "packages/hooks/src/index.ts",
3131
"template": "oss-npm-package",
3232
"type": "package",
33-
"version": "9.1.0"
33+
"version": "10.1.0"
3434
}
3535
}

packages/infra/cli/codegen/bundleAssets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ export const bundleAssets = async () => {
3333
outdir: assetDir,
3434
platform: 'node',
3535
sourcemap: true,
36-
target: 'node20',
36+
target: 'node22',
3737
});
3838
};

packages/infra/src/constructs/__snapshots__/lambdaDeployment.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ exports[`returns expected CloudFormation stack 1`] = `
206206
},
207207
"FunctionVersion": {
208208
"Fn::GetAtt": [
209-
"LambdaFunctionCurrentVersion7D5C86E3e2b46016d2d80a96993d54a126fb6e88",
209+
"LambdaFunctionCurrentVersion7D5C86E3dad486f78e1725da2340d446c21ddd39",
210210
"Version",
211211
],
212212
},
@@ -333,7 +333,7 @@ exports[`returns expected CloudFormation stack 1`] = `
333333
"Arn",
334334
],
335335
},
336-
"Runtime": "nodejs20.x",
336+
"Runtime": "nodejs22.x",
337337
"Tags": [
338338
{
339339
"Key": "aws-codedeploy-hooks",
@@ -343,7 +343,7 @@ exports[`returns expected CloudFormation stack 1`] = `
343343
},
344344
"Type": "AWS::Lambda::Function",
345345
},
346-
"LambdaFunctionCurrentVersion7D5C86E3e2b46016d2d80a96993d54a126fb6e88": {
346+
"LambdaFunctionCurrentVersion7D5C86E3dad486f78e1725da2340d446c21ddd39": {
347347
"Properties": {
348348
"FunctionName": {
349349
"Ref": "LambdaFunctionBF21E41F",

packages/infra/src/constructs/__snapshots__/stack.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ exports[`returns expected CloudFormation stack 1`] = `
4242
"Arn",
4343
],
4444
},
45-
"Runtime": "nodejs20.x",
45+
"Runtime": "nodejs22.x",
4646
"Timeout": 300,
4747
},
4848
"Type": "AWS::Lambda::Function",
@@ -173,7 +173,7 @@ exports[`returns expected CloudFormation stack 1`] = `
173173
"Arn",
174174
],
175175
},
176-
"Runtime": "nodejs20.x",
176+
"Runtime": "nodejs22.x",
177177
"Timeout": 300,
178178
},
179179
"Type": "AWS::Lambda::Function",

packages/infra/src/constructs/lambda.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const createLambdaHookProps = (
2222

2323
handler: 'index.handler',
2424

25-
runtime: aws_lambda.Runtime.NODEJS_20_X,
25+
runtime: aws_lambda.Runtime.NODEJS_22_X,
2626

2727
timeout: Duration.seconds(300),
2828
});

0 commit comments

Comments
 (0)