playwright/.circleci/config.yml

25 lines
560 B
YAML
Raw Normal View History

2020-03-03 05:34:24 +03:00
version: 2
jobs:
build:
docker:
- image: aslushnikov/playwright:bionic
2020-03-03 05:34:24 +03:00
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
command: npm ci
2020-03-03 05:34:24 +03:00
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./.local-browsers
2020-03-03 05:34:24 +03:00
- run:
command: |
xvfb-run --auto-servernum npm run ctest
xvfb-run --auto-servernum npm run wtest
xvfb-run --auto-servernum npm run ftest