Skip to content

Commit

Permalink
use NodeJS 18.x on EL9 CI nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed May 17, 2024
1 parent 67be4c1 commit 98eabab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion puppet/modules/jenkins_node/manifests/unittests.pp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@

# nodejs/npm for JavaScript tests
if $facts['os']['family'] == 'RedHat' {
$nodejs_version = $facts['os']['release']['major'] == '8' ? '14' : '18'
class { 'nodejs':
repo_url_suffix => '14.x',
repo_url_suffix => "${nodejs_version}.x",
nodejs_package_ensure => latest,
npm_package_name => false,
} -> Package <| provider == 'npm' |>
Expand Down

0 comments on commit 98eabab

Please sign in to comment.