Skip to content

Commit

Permalink
loose restriction for pnpm install
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Sep 21, 2022
1 parent c42bd8d commit 29fd665
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/actions/next-stats-action/src/run/index.js
Expand Up @@ -253,9 +253,13 @@ async function linkPkgs(pkgDir = '', pkgPaths) {
await fs.writeFile(pkgJsonPath, JSON.stringify(pkgData, null, 2), 'utf8')

await fs.remove(yarnEnvValues.YARN_CACHE_FOLDER)
await exec(`cd ${pkgDir} && pnpm install`, false, {
env: yarnEnvValues,
})
await exec(
`cd ${pkgDir} && pnpm install --strict-peer-dependencies=false`,
false,
{
env: yarnEnvValues,
}
)
}

module.exports = runConfigs

0 comments on commit 29fd665

Please sign in to comment.