mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +03:00
5c4751d5dd
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.
26 lines
519 B
YAML
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
|