@@ -351,6 +351,34 @@ function runRootFnosQa(modeValue, sinceRef) {
351351 runCommand ( 'root-qa-fnos-changed' , pnpmCommand . command , pnpmCommand . args )
352352}
353353
354+ function runRootSystemdServiceManagerQa ( modeValue , sinceRef ) {
355+ const pathspecs = [ 'scripts/bash/systemd-service-manager' , 'package.json' ]
356+
357+ if ( modeValue === 'all' ) {
358+ console . log ( '[turbo:qa] run root qa:systemd-service-manager (all)' )
359+ const pnpmCommand = buildPnpmCommand ( [ 'run' , 'qa:systemd-service-manager' ] )
360+ runCommand (
361+ 'root-qa-systemd-service-manager-all' ,
362+ pnpmCommand . command ,
363+ pnpmCommand . args ,
364+ )
365+ return
366+ }
367+
368+ if ( ! hasPathChanges ( pathspecs , sinceRef ) ) {
369+ console . log ( '[turbo:qa] skip root qa:systemd-service-manager (no changes)' )
370+ return
371+ }
372+
373+ console . log ( '[turbo:qa] run root qa:systemd-service-manager (changed)' )
374+ const pnpmCommand = buildPnpmCommand ( [ 'run' , 'qa:systemd-service-manager' ] )
375+ runCommand (
376+ 'root-qa-systemd-service-manager-changed' ,
377+ pnpmCommand . command ,
378+ pnpmCommand . args ,
379+ )
380+ }
381+
354382const sinceRef = mode === 'changed' ? resolveSinceRef ( ) : null
355383
356384if ( mode === 'changed' && sinceRef ) {
@@ -365,6 +393,7 @@ try {
365393 runWorkspaceQa ( mode , sinceRef )
366394 runRootPwshQa ( mode , sinceRef )
367395 runRootFnosQa ( mode , sinceRef )
396+ runRootSystemdServiceManagerQa ( mode , sinceRef )
368397 console . log ( '[turbo:qa] done' )
369398} catch ( error ) {
370399 if ( error instanceof CommandFailedError ) {
0 commit comments