From 44d05c26aa1483e3367014ed9c4ac371e9fec782 Mon Sep 17 00:00:00 2001 From: David Vilela Date: Thu, 20 Jun 2024 10:53:36 +0200 Subject: [PATCH] fix: conditional brew removal --- .github/workflows/e2e.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 87ffd2a2f..e2245c63f 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -27,17 +27,12 @@ jobs: with: node-version: "20.11" - # - name: Install Yarn - # run: npm install -g yarn - - # - name: Verify Yarn - # run: yarn --version - - # - name: Setup - # run: | - # yarn - # # Uninstall brew - # sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" + - name: Remove brew + if: runner.os == 'macOS' + run: | + yarn + # Uninstall brew + sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" - name: Install node dependencies run: yarn install