diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7a8c69..7a6b28c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,9 @@ jobs: node-version-file: '.nvmrc' cache: 'npm' + - name: Install dependencies for web + run: npm install --filter=@tech-companies-portugal/web + - name: Cache Playwright browsers id: playwright-cache uses: actions/cache@v3 @@ -72,9 +75,6 @@ jobs: if: steps.playwright-cache.outputs.cache-hit != 'true' run: npx playwright install chromium --with-deps - - name: Install dependencies for web - run: npm install --filter=@tech-companies-portugal/web - - name: Run Playwright tests run: npm run test:e2e:web diff --git a/.vscode/settings.json b/.vscode/settings.json index c280855..421484d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,8 +1,21 @@ { "editor.defaultFormatter": "biomejs.biome", - + "[javascript]": { + "editor.defaultFormatter": "biomejs.biome" + }, + "[typescript]": { + "editor.defaultFormatter": "biomejs.biome" + }, + "[typescriptreact]": { + "editor.defaultFormatter": "biomejs.biome" + }, + "[json]": { + "editor.defaultFormatter": "biomejs.biome" + }, "editor.codeActionsOnSave": { - "source.organizeImports": "always", - "source.fixAll.biome": "explicit", - } -} + "quickfix.biome": "explicit", + "source.organizeImports.biome": "explicit" + }, + "editor.formatOnSave": true, + "typescript.tsdk": "node_modules/typescript/lib", +} \ No newline at end of file diff --git a/apps/web/package.json b/apps/web/package.json index 34e8c77..1394f89 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -57,4 +57,4 @@ "@types/react-dom": "19.0.2", "react-is": "19.0.0" } -} \ No newline at end of file +} diff --git a/apps/web/src/app/(companies-list)/layout.tsx b/apps/web/src/app/(companies-list)/layout.tsx index 68c3c03..8d09661 100644 --- a/apps/web/src/app/(companies-list)/layout.tsx +++ b/apps/web/src/app/(companies-list)/layout.tsx @@ -1,16 +1,20 @@ import CompaniesHeader from "@/components/CompaniesHeader"; +import Footer from "@/components/Footer"; import { Skeleton } from "@/components/ui/skeleton"; import { LayoutProps } from "@/lib/types"; import { Suspense } from "react"; export default function AppLayout({ children }: LayoutProps) { return ( -
- - }> -
{children}
-
-
+ <> +
+ + }> +
{children}
+
+
+