Closed victorlin closed 1 month ago
@jameshadfield I forgot to explain in detail – I added that commit thinking it would ignore installation of Auspice devDependencies
, but it only applies to devDependencies
in the current project, i.e. nextstrain.org/auspice-client/package.json which has no devDependencies
at the moment. You have a good point though – if that every changes in the future, we would still want to ignore devDependencies
during installation for the review app. I'll keep the commit with a revised message.
Side note: the reason that Auspice devDependencies
were installed and causing slowness was due to having a prepare script on a git install. NODE_ENV=production
has no effect in this case. It is addressed with c90a465715232c16fe81d71e61509825ad07fd90 and https://github.com/nextstrain/nextstrain.org/commit/c3d38f25911dfadbbb9161d9e98f907181ab1d5e elsewhere.
^ new preview PR is a bug. Will create a PR to fix.
Description of proposed changes
Reduce the time to create the preview PR from ~11m to ~3m.
Related issue(s)
1709
Checklist