mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
20 lines
499 B
JavaScript
20 lines
499 B
JavaScript
import { execSync } from 'child_process' // The exec import
|
|
|
|
;(async () => {
|
|
// scan-new-apps test-prebuild build-lists-and-api test-postbuild-api
|
|
const steps = [
|
|
// 'scan-new-apps',
|
|
'test-prebuild',
|
|
'build-lists-and-api',
|
|
'test-postbuild-api'
|
|
]
|
|
|
|
for ( const stepScriptName of steps ) {
|
|
console.log( `Running step: ${ stepScriptName }` )
|
|
|
|
execSync( `npm run ${ stepScriptName }`, { stdio: 'inherit' } )
|
|
}
|
|
|
|
|
|
process.exit()
|
|
})()
|