fix(pnpm): use renovate/node for artifacts generation

This commit is contained in:
Rhys Arkins 2020-05-19 13:48:03 +02:00
parent 54b2ae61ad
commit 8b2bba2e2a
2 changed files with 2 additions and 2 deletions

View file

@ -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';

View file

@ -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",