From 58841be0a2f325f56146db3d9783ade0c24f33ff Mon Sep 17 00:00:00 2001 From: Michael Kreil Date: Mon, 23 Sep 2024 17:29:36 +0200 Subject: [PATCH] ci: fix playwright --- .github/workflows/ci.yml | 5 ++--- playwright.config.ts | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ca1fd7..d50174d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,14 +96,13 @@ jobs: - name: Install dependencies run: npm ci - - name: Install Playwright Browsers - run: npx playwright install --with-deps firefox - - name: Run unit tests run: npm run test:unit - name: Run integration tests run: npm run test:integration + env: + HOME: /root build: runs-on: ubuntu-latest diff --git a/playwright.config.ts b/playwright.config.ts index 3b65731..0502c62 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -10,7 +10,7 @@ export default defineConfig({ projects: [ { name: 'firefox', - use: { ...devices['Desktop Firefox'] }, - }, + use: { ...devices['Desktop Firefox'] } + } ] });