diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index 1beb5b9..b08fdb3 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -9,6 +9,9 @@ env: jobs: lighthouseci: runs-on: ubuntu-latest + defaults: + run: + working-directory: ./apps/client strategy: matrix: node-version: [22] diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 7f1c856..061828e 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,3 +1,7 @@ { - "recommendations": ["bradlc.vscode-tailwindcss", "esbenp.prettier-vscode"] + "recommendations": [ + "bradlc.vscode-tailwindcss", + "esbenp.prettier-vscode", + "github.vscode-github-actions" + ] } diff --git a/apps/client/vite.config.ts b/apps/client/vite.config.ts index c3460ad..cf0a790 100644 --- a/apps/client/vite.config.ts +++ b/apps/client/vite.config.ts @@ -46,7 +46,7 @@ export default defineConfig({ alias: [ { find: '~/', - replacement: './app/', + replacement: '/app/', }, ], }, diff --git a/playwright.config.ts b/playwright.config.ts index a8e246d..73cc670 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -101,6 +101,7 @@ const config: PlaywrightTestConfig = { /* Run your local dev server before starting the tests */ webServer: { + cwd: './apps/client', command: 'pnpm run build && pnpm run preview', url: 'http://localhost:4173/local-microblogging-client/', reuseExistingServer: !process.env.CI,