Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion recipe/provision/nodejs.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use function Deployer\Support\escape_shell_argument;

set('node_version', '23.x');
set('node_version', '--lts');
Copy link

Copilot AI Feb 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change updates the default for node_version, but the generated docs are now stale. docs/recipe/provision/nodejs.md still shows the default value as '23.x' (see around its "Default value" block). Please regenerate docs (php bin/docgen) and include the updated docs in this PR.

Suggested change
set('node_version', '--lts');
set('node_version', '23.x');

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Feb 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Defaulting to --lts makes provisioning time-dependent (the installed Node version will change when the LTS line advances), which can reduce reproducibility and introduce unexpected changes on reprovisioning. Consider defaulting to an explicit LTS major (and documenting --lts as an opt-in override) if deterministic builds/environments are important for this recipe.

Copilot uses AI. Check for mistakes.

desc('Installs npm packages');
task('provision:node', function () {
Expand Down
Loading