Skip to content

Commit

Permalink
Attempt to fix Cypress caching check
Browse files Browse the repository at this point in the history
  • Loading branch information
aasimsyed authored Apr 20, 2024
1 parent ce99509 commit cbecae4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:

- name: Check Cypress binary
run: |
if [ ! -f $(npm bin)/cypress ]; then
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
Expand Down

0 comments on commit cbecae4

Please sign in to comment.