refactor(cmd): restrict bootstrap pnpm tasks to dev environment (#4370)
parent
ad68f33aeb
commit
3aefcdf053
|
@ -53,8 +53,11 @@ func cmdBootstrapRun(_ *cobra.Command, _ []string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
createTemporaryDirectory()
|
createTemporaryDirectory()
|
||||||
|
|
||||||
|
if os.Getenv("CI") != "true" {
|
||||||
createPNPMDirectory()
|
createPNPMDirectory()
|
||||||
pnpmInstall()
|
pnpmInstall()
|
||||||
|
}
|
||||||
|
|
||||||
bootstrapPrintln("Preparing /etc/hosts to serve subdomains of example.com...")
|
bootstrapPrintln("Preparing /etc/hosts to serve subdomains of example.com...")
|
||||||
prepareHostsFile()
|
prepareHostsFile()
|
||||||
|
|
Loading…
Reference in New Issue