Skip to content

chore: cache Playwright browser install - #16387

Merged
Rich-Harris merged 11 commits into
version-3from
cache-playwright
Jul 17, 2026
Merged

chore: cache Playwright browser install#16387
Rich-Harris merged 11 commits into
version-3from
cache-playwright

Conversation

@teemingc

@teemingc teemingc commented Jul 17, 2026

Copy link
Copy Markdown
Member

Restoring the install from cache seems to save 5-10 seconds. Solution adapted from the article Rich shared https://endform.dev/blog/playwright-github-actions#speed-fix-1-cache-the-browser-binaries . OS-specific cache paths taken from https://playwright.dev/docs/browsers#managing-browser-binaries

Cache is keyed to pnpm-lock.yaml so it will bust when we upgrade deps. We could derive the playwright version from the pnpm workspace file...

@pkg-svelte-dev

pkg-svelte-dev Bot commented Jul 17, 2026

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 4946439:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/49464397e55cf9cfedd559a6511aebd80bed4a19

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16387

@changeset-bot

changeset-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 4946439

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@teemingc
teemingc marked this pull request as ready for review July 17, 2026 16:34
@Rich-Harris
Rich-Harris merged commit bbac7f8 into version-3 Jul 17, 2026
20 of 21 checks passed
@Rich-Harris
Rich-Harris deleted the cache-playwright branch July 17, 2026 16:49
Rich-Harris pushed a commit that referenced this pull request Jul 18, 2026
follow up to #16387
I missed adding it to the platform tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants