Skip to content

Commit 38146fc

Browse files
Update default Node.js version to 22.x (#950)
* Update default Node.js to 22.x * Update buildpacks/nodejs-engine/CHANGELOG.md Co-authored-by: Rune Soerensen <[email protected]> --------- Co-authored-by: Rune Soerensen <[email protected]>
1 parent 1a424de commit 38146fc

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

buildpacks/nodejs-engine/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Updated default Node.js version to 22.x.
13+
([#950](https://github.com/heroku/buildpacks-nodejs/pull/950))
14+
1015
## [3.2.18] - 2024-10-31
1116

1217
### Added

buildpacks/nodejs-engine/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ mod install_node;
3333

3434
const INVENTORY: &str = include_str!("../inventory.toml");
3535

36-
const LTS_VERSION: &str = "20.x";
36+
const LTS_VERSION: &str = "22.x";
3737

3838
const MINIMUM_NODE_VERSION_FOR_METRICS: &str = ">=14.10";
3939

buildpacks/nodejs-engine/tests/integration_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const METRICS_SEND_TIMEOUT: Duration = Duration::from_secs(15);
1616
#[ignore]
1717
fn simple_indexjs() {
1818
nodejs_integration_test("./fixtures/node-with-indexjs", |ctx| {
19-
assert_contains!(ctx.pack_stdout, "Node.js version not specified, using 20.x");
19+
assert_contains!(ctx.pack_stdout, "Node.js version not specified, using 22.x");
2020
assert_contains!(ctx.pack_stdout, "Installing Node.js");
2121
assert_web_response(&ctx, "node-with-indexjs");
2222
});

0 commit comments

Comments
 (0)