Speed Up Playwright on CI: Docker + Bun + Shards + Workers
Автор: QA Routine
Загружено: 2026-01-27
Просмотров: 83
Описание:
In this video, I show how to massively speed up Playwright tests on CI by evolving a real pipeline step by step.
Repository:
https://github.com/igo0r/speed
We start with a default Playwright setup and gradually migrate to a high-performance CI workflow, using:
✅ Playwright official Docker image
✅ Bun instead of npm
✅ Test sharding
✅ Multiple workers
✅ CI-friendly configuration tweaks
📉 Result:
➡️ CI runtime reduced from ~5 minutes to ~1 minute
What you’ll learn:
Why default Playwright CI setups are slow
When Docker actually helps (and when it doesn’t)
How Bun improves install & runtime speed
How to shard Playwright tests correctly
How workers behave differently on CI vs local
A final optimized GitHub Actions workflow you can copy
⏱️ Chapters:
00:00 – Intro
00:31 – Install required tools
03:01 – Create test to run
06:01 – Review playwright workflow
08:01 – Run tests locally
11:16 – Publish changes
12:20 – Commit slow workflow
13:20 – Github CI overview
15:00 – Build fast workflow
21:28 – Review workflow changes
24:30 – Fast workflow run
26:20 – The end
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: