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