From 56cd782175ad08143a99190ec0b4ce2481086745 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Mon, 17 Jul 2023 19:21:08 +0100 Subject: [PATCH] Tools: Set yarn checksumBehavior option --- .yarnrc.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.yarnrc.yml b/.yarnrc.yml index 726f6292f..419ed97ef 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -24,3 +24,9 @@ logFilters: # eg "string.prototype.matchall@npm:4.0.8 can't be found in the cache and will be fetched from the remote registry" - code: YN0013 level: discard + +# To avoid the error "The remote archive doesn't match the expected checksum". +# Yarn offers no way to understand what the issue is when it happens, or what +# needs to be done so it's just security theater that we have no choice but to +# disable. +checksumBehavior: update