Skip to content

Commit

Permalink
fix: force install additional plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
codfish committed Nov 9, 2023
1 parent 4d97366 commit 78f3935
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions entrypoint.js
Expand Up @@ -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);
}
Expand Down

0 comments on commit 78f3935

Please sign in to comment.