File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed
Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 5151 - run : |
5252 pnpx puppeteer browsers install chrome
5353 - run : pnpm install
54- - run : pnpm test:google
54+ - name : Run test
55+ run : |
56+ for i in {1..3}; do
57+ echo "Attempt $i"
58+ if pnpm test:google; then
59+ echo "Success on attempt $i"
60+ exit 0
61+ fi
62+ echo "Attempt $i failed, retrying..."
63+ done
64+ echo "All attempts failed"
65+ exit 1
Original file line number Diff line number Diff line change 9898 - run : |
9999 pnpx puppeteer browsers install chrome
100100 - run : pnpm install
101- - run : pnpm test:zitadel
101+ - name : Run test
102+ run : |
103+ for i in {1..3}; do
104+ echo "Attempt $i"
105+ if pnpm test:zitadel; then
106+ echo "Success on attempt $i"
107+ exit 0
108+ fi
109+ echo "Attempt $i failed, retrying..."
110+ done
111+ echo "All attempts failed"
112+ exit 1
You can’t perform that action at this time.
0 commit comments