Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🌟 What is the purpose of this PR?
This PR fixes https://github.com/hashintel/hash/actions/workflows/algolia-upload-index.yml. This is done by removing a broken optimization added in #324.
🔍 What does this change?
Error example:
CI was failing because
patch-package
was trying to patch packages that were not installed. Alternatively, I could deletepatches
folder in the yaml — it would keepyarn install
fast, but the CI code would look a bit more cryptic.Algolia CI should work again after this PR.
By running
yarn install
in CI, all dependencies from all workspace will be downloaded. This is what my optimization was trying to avoid. We can bring it back when we upgrade to Yarn Berry (which supports focus mode when installing stuff and has built-in support for patching packages).📜 Does this require a change to the docs?
No