From 8ee261cc3d3b07fc3e862a08324aa73d78ba514d Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Fri, 27 Sep 2024 22:21:07 -0500 Subject: [PATCH] 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 --- .github/workflows/pull_request.yml | 2 +- src/Blog/Blog.csproj | 6 +++--- src/Blog/Components/App.razor | 2 ++ test/Blog.Tests/Blog.Tests.csproj | 20 ++++++++++---------- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 46d879e..fd34f78 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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 diff --git a/src/Blog/Blog.csproj b/src/Blog/Blog.csproj index 6de9d6a..fa8d43f 100644 --- a/src/Blog/Blog.csproj +++ b/src/Blog/Blog.csproj @@ -1,4 +1,4 @@ - + net8.0 @@ -8,9 +8,9 @@ - + - + diff --git a/src/Blog/Components/App.razor b/src/Blog/Components/App.razor index 9a3cb1e..da28409 100644 --- a/src/Blog/Components/App.razor +++ b/src/Blog/Components/App.razor @@ -27,6 +27,8 @@ gtag('js', new Date()); gtag('config', 'G-5JM0TZTRHF'); + + } diff --git a/test/Blog.Tests/Blog.Tests.csproj b/test/Blog.Tests/Blog.Tests.csproj index 261bcfa..0a0f63b 100644 --- a/test/Blog.Tests/Blog.Tests.csproj +++ b/test/Blog.Tests/Blog.Tests.csproj @@ -10,20 +10,20 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - - - - - - + + + + + + + + +