Skip to content

Commit

Permalink
install Cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
aasimsyed committed Apr 20, 2024
1 parent cbecae4 commit 0e7c0a8
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e7c0a8

Please sign in to comment.