Unverified Commit ebf81223 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Increase PR stats repo build timeout (#27419)

Follow-up to https://github.com/vercel/next.js/pull/27308 this increases the `exec` timeout to allow more time for the repo to install/build since it can sometimes take longer in GitHub actions. 
parent 888c7002
......@@ -110,7 +110,9 @@ if (!allowedActions.has(actionInfo.actionName) && !actionInfo.isRelease) {
if (statsConfig.initialBuildCommand) {
buildCommand += ` && ${statsConfig.initialBuildCommand}`
}
await exec(buildCommand)
// allow 5 minutes node_modules install + building all packages
// in case of noisy environment slowing down initial repo build
await exec(buildCommand, false, { timeout: 5 * 60 * 1000 })
}
logger(`Linking packages in ${dir}`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment