Skip to content

Commit 2a3f4b6

Browse files
committed
Ensure playwright dependencies are installed
1 parent 5d8d433 commit 2a3f4b6

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/playwright-tests.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
- name: Checkout repository
1919
uses: actions/checkout@v3
2020

21+
- name: Set up Node.js
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: '20'
25+
2126
# Step 2: Set up JDK 17 (adjust if you're using a different version)
2227
- name: Set up JDK 17
2328
uses: actions/setup-java@v3
@@ -47,6 +52,9 @@ jobs:
4752
restore-keys: |
4853
${{ runner.os }}-maven
4954
50-
# Step 4: Run Maven to execute Playwright tests
55+
- name: Install Playwright dependencies
56+
run: npx playwright install-deps
57+
58+
# Step 6: Run Maven to execute Playwright tests
5159
- name: Run Playwright Tests
52-
run: mvn verify
60+
run: mvn verify

0 commit comments

Comments
 (0)