mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
10 lines
274 B
JavaScript
10 lines
274 B
JavaScript
module.exports = {
|
|
onPreBuild: async ({ utils: { build, run } }) => {
|
|
try {
|
|
await run.command("npm install -g pnpm")
|
|
await run.command("pnpm install --ignore-scripts --frozen-lockfile")
|
|
} catch (error) {
|
|
return build.failBuild(error)
|
|
}
|
|
}
|
|
}
|