feat: include simple analytics when in prod (#17)

* feat: include simple analytics when in prod

* chore: update dependencies

* chore: update workflow to use playwright container

* chore: update workflow to use playwright container

* chore: update workflow to use playwright container

* chore: update workflow to use playwright container

* chore: update workflow to use ubuntu-lts

* chore: specify ubuntu version explicitly
This commit is contained in:
Stevan Freeborn
2024-09-27 22:21:07 -05:00
committed by GitHub
parent 0264e65b83
commit 8ee261cc3d
4 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ on:
jobs:
run_tests:
name: Run tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
+3 -3
View File
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
@@ -8,9 +8,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Markdig" Version="0.36.2" />
<PackageReference Include="Markdig" Version="0.37.0" />
<PackageReference Include="System.ServiceModel.Syndication" Version="8.0.0" />
<PackageReference Include="TestableIO.System.IO.Abstractions.Wrappers" Version="21.0.2" />
<PackageReference Include="TestableIO.System.IO.Abstractions.Wrappers" Version="21.0.29" />
</ItemGroup>
<ItemGroup>
+2
View File
@@ -27,6 +27,8 @@
gtag('js', new Date());
gtag('config', 'G-5JM0TZTRHF');
</script>
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="" referrerpolicy="no-referrer-when-downgrade" /></noscript>
}
<script src="_framework/blazor.web.js"></script>
</body>
+10 -10
View File
@@ -10,20 +10,20 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="bunit" Version="1.27.17" />
<PackageReference Include="bunit" Version="1.31.3" />
<PackageReference Include="coverlet.msbuild" Version="6.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0" />
<PackageReference Include="Microsoft.Playwright.NUnit" Version="1.42.0" />
<PackageReference Include="moq" Version="4.20.70" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
<PackageReference Include="NUnit.Analyzers" Version="3.6.1" />
<PackageReference Include="coverlet.collector" Version="6.0.0" />
<PackageReference Include="FluentAssertions" Version="6.12.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.8" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Microsoft.Playwright.NUnit" Version="1.47.0" />
<PackageReference Include="moq" Version="4.20.72" />
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="NUnit.Analyzers" Version="4.3.0" />
<PackageReference Include="coverlet.collector" Version="6.0.2" />
</ItemGroup>
<PropertyGroup>