From b0ba5261d0dc13d856eb12c0e0eba6bbd84ffd69 Mon Sep 17 00:00:00 2001 From: Shivam Pandey Date: Sun, 7 Apr 2024 21:51:25 +0530 Subject: [PATCH] using cancel on auto failure --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3d9f53..4ea5415 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,6 +33,6 @@ jobs: # continue-on-error: true with: browser: chrome - command: npx cypress run --browser chrome --env USERNAME=${{secrets.USERNAME}},PASSWORD=${{secrets.PASSWORD}} + command: npx cypress run --browser chrome --auto-cancel-after-failures 1 --env USERNAME=${{secrets.USERNAME}},PASSWORD=${{secrets.PASSWORD}}