Cache Playwright browsers in CI to prevent download hangs#70
Conversation
The pretest script downloads all three browsers (~500MB total) on every run with no caching. Downloads were hanging after Chrome completed, blocking the test and publish workflows. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Claude finished @fynyky's task in 1m 13s —— View job Claude PR ReviewThe change is small, well-scoped, and correctly placed — the cache step sits between 1. Cache key should include
|
Summary
actions/cache@v4for~/.cache/ms-playwrightin bothtest.ymlandpublish.ymlpackage-lock.jsonhash, so it busts when Playwright version changesnpm ciand beforenpm test, which is wherepretestrunsnpx playwright install --with-depsTest plan
🤖 Generated with Claude Code