Re-add --prefer-offline
flag to workflows
#4823
Labels
status:ready
This issue is ready to be worked on
type:chore
A task related to code quality, tooling, CI, or anything that doesn't directly impact the end users
This commit in this PR removed the
--prefer-offline
flag from all workflows. The reason for this is that, for some reason, thenode_modules
directory stopped being created under thehardhat-verify
package when that flag is used, and this causes the rest of the workflows to fail.This seems like a pnpm bug to me, but maybe we have a problem in our repo. In any case, we should try re-adding it at some point.
Checking if this was fixed in the latest version of pnpm should be easy:
pnpm install --frozen-lockfile --prefer-offline && pnpm build
If the build fails, then the problem is still there.
The text was updated successfully, but these errors were encountered: