Skip to content

Commit

Permalink
Update cypress.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bddwithTim authored Oct 23, 2024
1 parent 0d75a5c commit 2e722eb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Cypress Tests

on:
push:
branches: [ main ]
branches: [ master, main ]
pull_request:
branches: [ main ]
branches: [ master, main ]
workflow_dispatch: # For manual triggering
schedule:
- cron: '0 19 * * *' # Runs every day at 3 AM GMT+8 (19:00 UTC)
Expand All @@ -25,10 +25,7 @@ jobs:
run: npm ci

- name: Run Cypress tests
uses: cypress-io/github-action@v5
with:
browser: chrome
headed: false # Replaced headless with the correct option
run: npm run test:headless

- name: Upload test results
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 2e722eb

Please sign in to comment.