playwright/.circleci/config.yml
Andrey Lushnikov 7080767f2c
devops: move CircleCI to run against dev version of Docker container (#2969)
Since we now auto-publish docker container, we can move CircleCI
to use the tip-of-tree docker images.
2020-07-16 10:23:36 -07:00

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