Skip to content

Commit 71edc83

Browse files
committed
Workflow: Change playwright to run on container
1 parent 86b8633 commit 71edc83

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/playwright.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
playwright:
1616
name: Run Playwright
1717
runs-on: ubuntu-latest
18+
container:
19+
image: mcr.microsoft.com/playwright:v1.56.1-noble
1820
steps:
1921
# Checkout the repository so the workflow has access to the code
2022
- name: Checkout code
@@ -24,8 +26,8 @@ jobs:
2426
with:
2527
hugo-version: '0.147.8'
2628
extended: true
27-
- name: Install dependencies and playwright browsers
28-
run: cd tests && npm ci && npx playwright install --with-deps
29+
- name: Install dependencies
30+
run: cd tests && npm ci
2931
- name: Run Playwright tests
3032
id: test-ui
3133
run: |

0 commit comments

Comments
 (0)