Skip to content

Commit 37918f9

Browse files
committed
ChangedGithubActions
1 parent 8cd269a commit 37918f9

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/playwright.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,21 @@ jobs:
4141
- name: Run tests
4242
run: npm run test:serial
4343
env:
44-
npm_config_ENV: "qa"
44+
npm_config_ENV: "qa"
45+
46+
47+
# Define a job named 'create-report-zip'
48+
create-report-zip:
49+
# Specify the operating system for this job
50+
runs-on: ubuntu-latest
51+
52+
# Define dependencies to ensure it runs after 'build' job completes
53+
needs: build
54+
55+
# Define the steps to execute in this job
56+
steps:
57+
# Step to zip the html-report folder
58+
- name: Zip HTML report
59+
run: |
60+
cd playwright-typescript-playwright-test
61+
zip -r html-report.zip html-report

0 commit comments

Comments
 (0)