We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c37e05a commit 3659bd5Copy full SHA for 3659bd5
.github/workflows/main.yml
@@ -25,13 +25,20 @@ jobs:
25
- name: 🔨 Build the project
26
run: dotnet build --configuration Release
27
28
- - name: 📥 Install Node.js (for Playwright)
29
- uses: actions/setup-node@v4
30
- with:
31
- node-version: 18
+ - name: 💡 Restore .NET Tools (like dotnet-playwright)
+ run: dotnet tool restore
32
33
- name: 🚀 Install Playwright browsers
34
- run: npx playwright install --with-deps
+ run: dotnet playwright install
35
36
- name: 🧪 Run UI tests
37
run: dotnet test --configuration Release --logger "console;verbosity=detailed"
+
+ - name: 📸 Upload Screenshots if failed
38
+ if: failure()
39
+ uses: actions/upload-artifact@v4
40
+ with:
41
+ name: screenshots
42
+ path: |
43
+ ./Screenshots/
44
+ **/*.png
0 commit comments