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

Update release stats for newer pnpm version (#44828)

parent a0b45c33
...@@ -110,10 +110,13 @@ if (!allowedActions.has(actionInfo.actionName) && !actionInfo.isRelease) { ...@@ -110,10 +110,13 @@ if (!allowedActions.has(actionInfo.actionName) && !actionInfo.isRelease) {
logger(`Running initial build for ${dir}`) logger(`Running initial build for ${dir}`)
if (!actionInfo.skipClone) { if (!actionInfo.skipClone) {
const usePnpm = await fs.pathExists(path.join(dir, 'pnpm-lock.yaml')) const usePnpm = await fs.pathExists(path.join(dir, 'pnpm-lock.yaml'))
let buildCommand = `cd ${dir}${ let buildCommand = `cd ${dir}${
!statsConfig.skipInitialInstall !statsConfig.skipInitialInstall
? usePnpm ? usePnpm
? ' && pnpm install && pnpm run build' ? // --no-frozen-lockfile is used here to tolerate lockfile
// changes from merging latest changes
` && pnpm install --no-frozen-lockfile && pnpm run build`
: ' && yarn install --network-timeout 1000000' : ' && yarn install --network-timeout 1000000'
: '' : ''
}` }`
......
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