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: jobs:
run_tests: run_tests:
name: Run tests name: Run tests
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 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> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
@@ -8,9 +8,9 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <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="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>
<ItemGroup> <ItemGroup>
+2
View File
@@ -27,6 +27,8 @@
gtag('js', new Date()); gtag('js', new Date());
gtag('config', 'G-5JM0TZTRHF'); gtag('config', 'G-5JM0TZTRHF');
</script> </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> <script src="_framework/blazor.web.js"></script>
</body> </body>
+10 -10
View File
@@ -10,20 +10,20 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="bunit" Version="1.27.17" /> <PackageReference Include="bunit" Version="1.31.3" />
<PackageReference Include="coverlet.msbuild" Version="6.0.2"> <PackageReference Include="coverlet.msbuild" Version="6.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
</PackageReference> </PackageReference>
<PackageReference Include="FluentAssertions" Version="6.12.0" /> <PackageReference Include="FluentAssertions" Version="6.12.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.3" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.8" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Microsoft.Playwright.NUnit" Version="1.42.0" /> <PackageReference Include="Microsoft.Playwright.NUnit" Version="1.47.0" />
<PackageReference Include="moq" Version="4.20.70" /> <PackageReference Include="moq" Version="4.20.72" />
<PackageReference Include="NUnit" Version="3.13.3" /> <PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" /> <PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="NUnit.Analyzers" Version="3.6.1" /> <PackageReference Include="NUnit.Analyzers" Version="4.3.0" />
<PackageReference Include="coverlet.collector" Version="6.0.0" /> <PackageReference Include="coverlet.collector" Version="6.0.2" />
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>