From 0e7c0a890ae464d3553a7f7fe419d990c8f2434e Mon Sep 17 00:00:00 2001 From: aasim Date: Fri, 19 Apr 2024 21:24:49 -0400 Subject: [PATCH] install Cypress --- .github/workflows/main.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9208b53..ccf0db8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,13 +34,8 @@ jobs: - name: Install dependencies run: npm install - - name: Check Cypress binary - run: | - CYPRESS_BINARY_PATH=$(npm bin)/../.cache/Cypress/*/Cypress/Cypress - if [ ! -f "$CYPRESS_BINARY_PATH" ]; then - echo "Cypress binary not found. Installing..." - npx cypress install - fi + - name: Install Cypress binary + run: npm install cypress - name: Verify Cypress binary run: npx cypress verify