playwright/.circleci/config.yml
Dmitry Gozman 5c4751d5dd
chore: generate protocol during browser roll (#2719)
We now commit protocol.ts files during the roll.
New utils/roll_browser.js helps with that.

This makes our installation very shallow:
- build installer;
- download browsers.
2020-07-01 15:22:29 -07:00

26 lines
519 B
YAML

version: 2
jobs:
build:
docker:
- image: mcr.microsoft.com/playwright:bionic
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "browsers.json" }}
- run:
command: npm ci
- run:
command: npm run build
- save_cache:
key: dependency-cache-{{ checksum "browsers.json" }}
paths:
- $HOME/.cache/ms-playwright
- run:
command: |
xvfb-run --auto-servernum npm run test