diff --git a/.netlify/netlify-plugin-pnpm/index.js b/.netlify/netlify-plugin-pnpm/index.js index 90717145d..3ec3a1efb 100644 --- a/.netlify/netlify-plugin-pnpm/index.js +++ b/.netlify/netlify-plugin-pnpm/index.js @@ -2,7 +2,7 @@ module.exports = { onPreBuild: async ({ utils: { build, run } }) => { try { await run.command("npm install -g pnpm") - await run.command("pnpm install") + await run.command("pnpm install --ignore-scripts --frozen-lockfile") } catch (error) { return build.failBuild(error) }