Skip to content

Commit cd3d680

Browse files
committed
Updated GitHub actions yml file
1 parent 54ac8a0 commit cd3d680

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/playwright.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Playwright Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repo
17+
uses: actions/checkout@v3
18+
19+
- name: Set up Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 20
23+
24+
- name: Install dependencies
25+
run: npm ci
26+
27+
- name: Run Playwright tests
28+
run: npx playwright test
29+
30+
- name: Generate Allure report
31+
run: |
32+
npm run allure:generate
33+
npm run allure:open

0 commit comments

Comments
 (0)