Skip to content

Commit bb76cc2

Browse files
Fix Playwright CLI install in GitHub Actions
1 parent 2eb9539 commit bb76cc2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/dotnet-playwright.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ jobs:
2525
- name: Build project
2626
run: dotnet build --configuration Release --no-restore
2727

28-
- name: Install Playwright browsers for .NET
29-
run: dotnet playwright install --with-deps
28+
- name: Install Playwright .NET CLI tool
29+
run: dotnet tool install --global Microsoft.Playwright.CLI
30+
31+
- name: Install Playwright browsers
32+
run: playwright install --with-deps
3033

3134
- name: Run Playwright Tests
3235
run: dotnet test --configuration Release --logger "trx;LogFileName=test_results.trx"

0 commit comments

Comments
 (0)