Skip to content

OLH-2538: Upgrade Lambda runtime to Node 22#439

Merged
alex9smith merged 1 commit intomainfrom
OLH-2538-node-22
Apr 1, 2025
Merged

OLH-2538: Upgrade Lambda runtime to Node 22#439
alex9smith merged 1 commit intomainfrom
OLH-2538-node-22

Conversation

@alex9smith
Copy link
Contributor

Proposed changes

What changed

From Node 18 as that's about to be deprecated. Our policy1 says we should be on the most recent LTS runtime, so that's Node 22.

This is a safe upgrade as we already run our tests locally and in CI using Node 22.

I've taken the opportunity to move this parameter to the Globals object as all these Lambdas use the same runtime.

Why did it change

Node 18 is EOL in September

Footnotes

  1. https://team-manual.account.gov.uk/policies/#active-policies

From Node 18 as that's about to be deprecated. Our policy[^1] says we
should be on the most recent LTS runtime, so that's Node 22.

This is a safe upgrade as we already run our tests locally and in CI
using Node 22

[^1]: https://team-manual.account.gov.uk/policies/#active-policies
@alex9smith alex9smith merged commit 3d47bd3 into main Apr 1, 2025
4 checks passed
@alex9smith alex9smith deleted the OLH-2538-node-22 branch April 1, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants