Skip to content

Commit ca5d4fc

Browse files
committed
Apply pipeline fix
1 parent 668f133 commit ca5d4fc

File tree

1 file changed

+37
-34
lines changed

1 file changed

+37
-34
lines changed
Lines changed: 37 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,37 @@
1-
name: Playwright Tests
2-
3-
on:
4-
push:
5-
branches:
6-
- main
7-
- '**'
8-
pull_request:
9-
10-
jobs:
11-
test:
12-
runs-on: ubuntu-latest
13-
14-
steps:
15-
- name: Checkout code
16-
uses: actions/checkout@v4
17-
18-
- name: Set up Node.js
19-
uses: actions/setup-node@v4
20-
with:
21-
node-version: '20'
22-
23-
- name: Install dependencies
24-
run: npm ci
25-
26-
- name: Run Playwright tests
27-
run: npx playwright test
28-
29-
- name: Upload Playwright report
30-
if: always()
31-
uses: actions/upload-artifact@v4
32-
with:
33-
name: playwright-report
34-
path: playwright-report/
1+
name: Playwright Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- '**'
8+
pull_request:
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: '20'
22+
23+
- name: Install dependencies
24+
run: npm ci
25+
26+
- name: Install Playwright browsers
27+
run: npx playwright install
28+
29+
- name: Run Playwright tests
30+
run: npx playwright test
31+
32+
- name: Upload Playwright report
33+
if: always()
34+
uses: actions/upload-artifact@v4
35+
with:
36+
name: playwright-report
37+
path: playwright-report/

0 commit comments

Comments
 (0)