mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
fix(pnpm): use renovate/node for artifacts generation
This commit is contained in:
parent
54b2ae61ad
commit
8b2bba2e2a
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ export async function generateLockFile(
|
|||
const envVars = ['NPM_CONFIG_CACHE', 'npm_config_store'];
|
||||
cmd += envVars.map((e) => `-e ${e} `).join('');
|
||||
cmd += `-w "${cwd}" `;
|
||||
cmd += `renovate/pnpm pnpm`;
|
||||
cmd += `renovate/node npm i -g pnpm && pnpm`;
|
||||
}
|
||||
logger.debug(`Using pnpm: ${cmd}`);
|
||||
cmd += ' install';
|
||||
|
|
|
@ -69,7 +69,7 @@ Array [
|
|||
exports[`generateLockFile uses docker pnpm 1`] = `
|
||||
Array [
|
||||
Object {
|
||||
"cmd": "docker run --rm -v \\"some-dir\\":\\"some-dir\\" -v \\"some-cache-dir\\":\\"some-cache-dir\\" -e NPM_CONFIG_CACHE -e npm_config_store -w \\"some-dir\\" renovate/pnpm pnpm install --lockfile-only --ignore-scripts --ignore-pnpmfile",
|
||||
"cmd": "docker run --rm -v \\"some-dir\\":\\"some-dir\\" -v \\"some-cache-dir\\":\\"some-cache-dir\\" -e NPM_CONFIG_CACHE -e npm_config_store -w \\"some-dir\\" renovate/node npm i -g pnpm && pnpm install --lockfile-only --ignore-scripts --ignore-pnpmfile",
|
||||
"options": Object {
|
||||
"cwd": "some-dir",
|
||||
"encoding": "utf-8",
|
||||
|
|
Loading…
Reference in a new issue