mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-24 21:15:51 +01:00
chore: update netlify configuration
This commit is contained in:
parent
669f0a63e8
commit
e7ef249b1d
@ -2,7 +2,7 @@ module.exports = {
|
|||||||
onPreBuild: async ({ utils: { build, run } }) => {
|
onPreBuild: async ({ utils: { build, run } }) => {
|
||||||
try {
|
try {
|
||||||
await run.command("npm install -g pnpm")
|
await run.command("npm install -g pnpm")
|
||||||
await run.command("pnpm install")
|
await run.command("pnpm install --ignore-scripts --frozen-lockfile")
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return build.failBuild(error)
|
return build.failBuild(error)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user