-
Notifications
You must be signed in to change notification settings - Fork 1.6k
package-lock.json mismatches are not caught by presubmit #7619
Comments
As per the This bug was resolved in this PR, which made it into the v8.4.1 release of The Cloud Build image that we use to deploy web.dev uses Our staging server build on Netlify is configured to use whatever version of Our presubmit build on GitHub actions also ended up using web.dev/.github/actions/presubmit/action.yml Lines 10 to 12 in ed53ffa
(which just says I'm going to follow-up with a PR to try to get everything bumped up to use at least |
|
#7614 introduced a mismatch between our
package.json
andpackage-lock.json
files, which prevented production deployments from succeeding. Ostensibly, this should have been caught by our presubmit GitHub Action, but looking at the logs, I see thatnpm ci
succeeded when run during presubmit.The difference might be that our production deployment uses
npm ci --production
, and presubmit usesnpm ci
, but I do not see anything in the docs about--production
changing the waypackage-lock.json
mismatches are treated bynpm ci
.We should investigate the discrepancy and ensure that this sort of mismatch is properly flagged in presubmit.
The text was updated successfully, but these errors were encountered: