Skip to content

Commit e8fc6cd

Browse files
committed
2 parents 4e28486 + d1b866d commit e8fc6cd

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: 🧪 Run Playwright UI Tests
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [master]
66
pull_request:
7-
branches: [main]
7+
branches: [master]
88

99
jobs:
1010
playwright-ui-tests:
@@ -19,14 +19,17 @@ jobs:
1919
with:
2020
dotnet-version: 8.0.x
2121

22-
- name: 📦 Restore dependencies
22+
- name: 📦 Restore NuGet packages
2323
run: dotnet restore
2424

25-
- name: 🔨 Build project
25+
- name: 🔨 Build the project
2626
run: dotnet build --configuration Release
2727

28+
- name: 💡 Restore .NET Tools (like dotnet-playwright)
29+
run: dotnet tool restore
30+
2831
- name: 🚀 Install Playwright browsers
29-
run: pwsh bin/Debug/net8.0/playwright.ps1 install
32+
run: dotnet playwright install
3033

3134
- name: 🧪 Run UI tests
3235
run: dotnet test --configuration Release --logger "console;verbosity=detailed"

0 commit comments

Comments
 (0)