Skip to content

Commit f322498

Browse files
committed
Updated Allure Report configuration
1 parent f5af2d8 commit f322498

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/playwright.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
run: npx playwright test
3232

3333
- name: Generate Allure report
34-
run: |
35-
npm run allure:generate
36-
npm run allure:open
34+
run: npm run allure:generate
35+
36+
- name: Upload Allure Report as an Artifact
37+
uses: actions/upload-artifact@v4
38+
with:
39+
name: allure-report
40+
path: ./allure-report

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
8-
"report:allure": "npx allure generate ./allure-results --clean -o ./allure-report && npx allure open ./allure-report"
8+
"allure:generate": "allure generate ./allure-results --clean -o ./allure-report",
9+
"allure:open": "allure open ./allure-report"
910
},
1011
"keywords": [],
1112
"author": "",

0 commit comments

Comments
 (0)