File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed
Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,11 @@ jobs:
2323 - name : Checkout code
2424 uses : actions/checkout@v2
2525
26- # Step to install msmtp
27- - name : Install msmtp
28- run : sudo apt update && sudo apt install -y msmtp
29-
3026 # Step to set up the Node.js version
3127 - name : Install node js v20
3228 uses : actions/setup-node@v2
3329 with :
34- node-version : ' 20 '
30+ node-version : " 20 "
3531
3632 # Step to install Node.js dependencies
3733 - name : Install dependencies
@@ -49,20 +45,13 @@ jobs:
4945
5046 # Step to wait for the job to complete
5147 - name : Wait for job completion
52- run : sleep 30s # Adjust the wait time as needed
48+ # Adjust the wait time as needed
49+ run : sleep 30s
5350 # This step should always run, even if previous steps fail
5451 if : always()
5552
5653 # Step to zip html-report folder
5754 - name : Zip HTML report
5855 run : zip -r html-report.zip html-report
5956 # This step should always run, even if previous steps fail
60- if : always()
61-
62- # Step to send email with the zip report using msmtp
63- - name : Send email with zip report
64- run : |
65- echo "Sending email with zip report"
66- echo -e "Subject: Playwright Test Report\n\nThis is the body of the email" | msmtp -a default codendeavor@gmail.com
67- # This step should only run if the previous steps were successful
68- if : success()
57+ if : always()
You can’t perform that action at this time.
0 commit comments