Unverified Commit ad1dc3f8 authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

retry pnpm pack (#63519)

### What?

Make CI more stable


Closes PACK-2799
parent e4cd547a
......@@ -208,13 +208,20 @@ module.exports = (actionInfo) => {
}
}
const { stdout } = await execa('pnpm', ['pack'], {
const options = {
cwd: pkgPath,
env: {
...process.env,
COREPACK_ENABLE_STRICT: '0',
},
})
}
let execResult
try {
execResult = await execa('pnpm', ['pack'], options)
} catch {
execResult = await execa('pnpm', ['pack'], options)
}
const { stdout } = execResult
const packedFileName = stdout.trim()
......
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