From 759a82abb1f2ea64c03dc9b298aa03950690fa27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Sun, 7 Feb 2021 14:17:26 +0100 Subject: [PATCH] Fix failing CI with Jest 24 (#12779) --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ce79aa9da..7ccc138971 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -153,8 +153,9 @@ jobs: run: | yarn remove jest yarn add --dev jest@24 - # Pin stack-utils to 1.0.2 https://github.com/tapjs/stack-utils/issues/56 - yarn set resolution stack-utils@npm:^1.0.1 1.0.2 + # Deduplicate dependencies, because duplicate copies of graceful-fs cause + # problems with the "path" module: https://github.com/facebook/jest/issues/9656 + yarn dedupe - uses: actions/download-artifact@v2 with: name: babel-artifact