diff --git a/entrypoint.js b/entrypoint.js index c3b2db7..ec71df3 100644 --- a/entrypoint.js +++ b/entrypoint.js @@ -22,9 +22,13 @@ const installPackages = (packages) => { try { const packagesArr = arrify(packages); core.debug(`Installing additional packages: ${packagesArr}`); - const spawn = childProcess.spawnSync('npm', ['install', '--no-save', ...packagesArr], { - stdio: ['inherit', 'inherit', 'pipe'], - }); + const spawn = childProcess.spawnSync( + 'npm', + ['install', '--no-save', '--no-audit', '--no-fund', '--force', ...packagesArr], + { + stdio: ['inherit', 'inherit', 'pipe'], + }, + ); if (spawn.status !== 0) { throw new Error(spawn.stderr); }