File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,18 +31,13 @@ jobs:
3131 - name : Build
3232 run : dotnet build --configuration Release --no-restore
3333
34- - name : Resolve Current .NET Version
34+ - name : Install Playwright browsers
3535 shell : pwsh
3636 run : |
37- $dotNetVersion = dotnet --version
38- "DOTNET_VERSION=$dotNetVersion" >> $env:GITHUB_ENV
37+ $playwrightScript = Get-ChildItem "test/OrchardCoreContrib.Testing.UI.Tests/bin/Release/*/playwright.ps1" |
38+ Select-Object -First 1 -ExpandProperty FullName
3939
40- - name : Install Playwright.NET
41- uses : phil-scott-78/setup-playwright-dotnet@v0.1.0-alpha
42- with :
43- dotnet-version : ${{ env.DOTNET_VERSION }}
44- with-deps : true
45- browsers : ' all'
40+ & $playwrightScript install
4641
4742 - name : Test
4843 run : dotnet test --configuration Release --no-restore --verbosity normal
You can’t perform that action at this time.
0 commit comments