diff --git a/bisect.sh b/bisect.sh new file mode 100755 index 0000000000..787c1da7a4 --- /dev/null +++ b/bisect.sh @@ -0,0 +1,37 @@ +#! /usr/bin/env bash + +CANNOT_BE_TESTED=125 +GOOD=0 +BAD=1 + +echo "Testing to see if renovate config is already broken..." + +if ! bazel test //:validate_renovate_config_test; then + echo "Renovate config appears already broken, striking off this commit." + exit $CANNOT_BE_TESTED +fi + +echo "force update the lockfile..." +if ! npm run pnpm i; then + echo "Failed to update lockfile." + exit $CANNOT_BE_TESTED +fi + +echo "See if it breaks..." + +EXIT_CODE=$CANNOT_BE_TESTED + +if bazel test //:validate_renovate_config_test; then + echo "Pass." + EXIT_CODE=$GOOD + else + + echo "Fail." + EXIT_CODE=$BAD +fi + +echo "Cleaning up..." + +git reset --hard + +exit $EXIT_CODE diff --git a/package.json b/package.json index b13e2636c6..be6d09fc3f 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "react-router-dom": "6.11.2", "react-spring": "9.7.1", "regenerator-runtime": "0.13.11", - "renovate": "^35.98.4", + "renovate": "^34.159.2", "sharp": "0.32.1", "stylelint": "15.6.2", "stylelint-config-css-modules": "4.2.0",