diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 68d8c69..4cb8b85 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -5,9 +5,10 @@ on: jobs: linkinator: runs-on: ubuntu-latest - if: ${{ startsWith(github.event.deployment_status.environment, 'preview') && github.event.deployment_status.state == 'success' }} + # Runs if the deployment environment starts with 'preview' and the deployment status is 'success', and if the url does not contain 'analytics' + if: ${{ startsWith(github.event.deployment_status.environment, 'preview') && github.event.deployment_status.state == 'success' }} && !contains(github.event.deployment_status.environment_url, 'analytics') steps: - name: Checkout the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run dead-link-checker run: npx @jthrilly/dead-link-checker ${{ github.event.deployment_status.environment_url }} -v --yes diff --git a/apps/analytics-web/app/layout.tsx b/apps/analytics-web/app/layout.tsx index f321369..fc89e77 100644 --- a/apps/analytics-web/app/layout.tsx +++ b/apps/analytics-web/app/layout.tsx @@ -1,8 +1,8 @@ +import { ClerkProvider } from "@clerk/nextjs"; +import "@codaco/tailwind-config/globals.css"; import type { Metadata } from "next"; import { Inter } from "next/font/google"; -import "@codaco/tailwind-config/globals.css"; import "./globals.css"; -import { ClerkProvider } from "@clerk/nextjs"; const inter = Inter({ subsets: ["latin"] }); @@ -17,7 +17,7 @@ export default function RootLayout({ children: React.ReactNode; }) { return ( - + {children} diff --git a/apps/analytics-web/app/page.tsx b/apps/analytics-web/app/page.tsx index 61aa3c3..d326ff6 100644 --- a/apps/analytics-web/app/page.tsx +++ b/apps/analytics-web/app/page.tsx @@ -10,7 +10,7 @@ export default function DashboardPage() {

Dashboard

- +