mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-07 11:46:42 +03:00
7080767f2c
Since we now auto-publish docker container, we can move CircleCI to use the tip-of-tree docker images.
26 lines
516 B
YAML
26 lines
516 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: mcr.microsoft.com/playwright:dev
|
|
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
|