From cf3ae0deb3b5fcc9c317026e77808a83cce61351 Mon Sep 17 00:00:00 2001 From: Evan Wallace Date: Sat, 18 Nov 2023 17:11:38 -0500 Subject: [PATCH] fix the latest yarn breaking its own installation --- .github/workflows/ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40d8f7b07a6..857ddb5bf6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -174,9 +174,6 @@ jobs: if: matrix.os != 'ubuntu-latest' run: node scripts/wasm-tests.js - - name: Yarn PnP tests - run: make test-yarnpnp - - name: Sucrase Tests if: matrix.os == 'ubuntu-latest' run: make test-sucrase @@ -193,6 +190,15 @@ jobs: if: matrix.os == 'ubuntu-latest' run: cd scripts && node gen-unicode-table.js + - name: Yarn PnP tests + run: | + # Note that Yarn recently deliberately broke "npm install -g yarn". + # They say you now have to run "corepack enable" to fix it. They have + # written about this here: https://yarnpkg.com/corepack + corepack enable + + make test-yarnpnp + esbuild-old-versions: name: esbuild CI (old versions) runs-on: ubuntu-latest