From 0015bf65d6b4ed3fa7e735ffea5a9bcdfdabc01b Mon Sep 17 00:00:00 2001 From: Schalk Neethling Date: Sat, 2 May 2026 19:53:33 +0200 Subject: [PATCH 1/3] chore: updates to playwright ci config --- .github/workflows/playwright.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 3eb13143..1a9ed84d 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -1,20 +1,20 @@ name: Playwright Tests on: push: - branches: [ main, master ] + branches: [ main ] pull_request: - branches: [ main, master ] + branches: [ main ] jobs: test: - timeout-minutes: 60 + timeout-minutes: 5 runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: lts/* + node-version: 24 - name: Install dependencies - run: npm ci + run: pnpm install --frozen-lockfile - name: Install Playwright Browsers run: npx playwright install --with-deps - name: Run Playwright tests @@ -24,4 +24,4 @@ jobs: with: name: playwright-report path: playwright-report/ - retention-days: 30 + retention-days: 7 From ba39d8d562e0b3a9e61f92369df4522618812dbd Mon Sep 17 00:00:00 2001 From: Schalk Neethling Date: Sat, 2 May 2026 20:02:46 +0200 Subject: [PATCH 2/3] fix config --- .github/workflows/playwright.yml | 44 +++++++++++++++++++------------- pnpm-workspace.yaml | 3 +++ 2 files changed, 29 insertions(+), 18 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 1a9ed84d..dca6f9b4 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -1,27 +1,35 @@ name: Playwright Tests on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: test: timeout-minutes: 5 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 24 - - name: Install dependencies - run: pnpm install --frozen-lockfile - - name: Install Playwright Browsers - run: npx playwright install --with-deps - - name: Run Playwright tests - run: npx playwright test - - uses: actions/upload-artifact@v4 - if: ${{ !cancelled() }} - with: - name: playwright-report - path: playwright-report/ - retention-days: 7 + - uses: actions/checkout@v4 + + - name: Set up pnpm + uses: pnpm/action-setup@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 24 + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Install Playwright Browsers + run: npx playwright install --with-deps + + - name: Run Playwright tests + run: npx playwright test + + - uses: actions/upload-artifact@v4 + if: ${{ !cancelled() }} + with: + name: playwright-report + path: playwright-report/ + retention-days: 7 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index d0b7dbe2..c733e937 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,6 @@ onlyBuiltDependencies: + - '@google/genai' - esbuild + - koffi + - protobufjs - sharp From 890772b30dd0ffd50cf97cadb2ea772ff4074ed9 Mon Sep 17 00:00:00 2001 From: Schalk Neethling Date: Sat, 2 May 2026 20:03:40 +0200 Subject: [PATCH 3/3] Update .github/workflows/playwright.yml Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- .github/workflows/playwright.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index dca6f9b4..804241a4 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -6,7 +6,7 @@ on: branches: [main] jobs: test: - timeout-minutes: 5 + timeout-minutes: 15 runs-on: ubuntu-latest steps: - uses: actions/checkout@v4