From 1f390787e91733ac097320bc4c320e2b918ed751 Mon Sep 17 00:00:00 2001 From: MaryWylde Date: Mon, 27 Apr 2026 17:20:43 +0400 Subject: [PATCH] chore: update playwright yml, AGAIN --- .github/workflows/playwright-scheduled.yml | 10 ++++++++-- playwright.config.ts | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/playwright-scheduled.yml b/.github/workflows/playwright-scheduled.yml index f128cee..e580d7e 100644 --- a/.github/workflows/playwright-scheduled.yml +++ b/.github/workflows/playwright-scheduled.yml @@ -74,10 +74,16 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - cache: yarn + # Intentionally NOT caching yarn — a stale runner cache was + # leaving @axe-core/playwright out of node_modules even though + # it sat in yarn.lock. Mirrors cypress-manual.yml which also + # opts out of caching. - name: Install dependencies - run: yarn install --frozen-lockfile + # Plain `yarn install` (no --frozen-lockfile) — matches the + # cypress-manual.yml pattern. Slower per run (~30-60s vs cached) + # but guarantees a clean node_modules every time. + run: yarn install - name: Decode prod env file if: env.APP_ENV == 'prod' diff --git a/playwright.config.ts b/playwright.config.ts index ad129bf..7c4d286 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,3 +1,4 @@ +/// import { defineConfig, devices } from '@playwright/test'; const baseURL = process.env.PLAYWRIGHT_BASE_URL || 'http://localhost:3005';