diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 102e0122..8c545283 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -35,7 +35,11 @@ jobs: check-latest: true - name: Install dependencies - run: yarn install + run: | + # Yarn needs global node-gyp available if npm 9.7.2+ is the global version, + # or else postinstall scripts for this repo won't run. It's a long story. And it's a "won't fix" bug in Yarn v1.x. + yarn global add node-gyp@9.4.0 + yarn install - if: "!contains(matrix.os, 'windows')" name: Run tests 👩🏾‍💻