2020-03-03 05:34:24 +03:00
|
|
|
version: 2
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
docker:
|
2020-03-03 06:04:45 +03:00
|
|
|
- image: aslushnikov/playwright:bionic
|
2020-03-03 05:34:24 +03:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
|
|
|
|
- restore_cache:
|
|
|
|
key: dependency-cache-{{ checksum "package.json" }}
|
|
|
|
|
|
|
|
- run:
|
2020-04-21 02:57:01 +03:00
|
|
|
command: npm ci
|
2020-03-03 05:34:24 +03:00
|
|
|
|
|
|
|
- save_cache:
|
|
|
|
key: dependency-cache-{{ checksum "package.json" }}
|
|
|
|
paths:
|
2020-03-19 21:43:35 +03:00
|
|
|
- ./.local-browsers
|
2020-03-03 05:34:24 +03:00
|
|
|
|
|
|
|
- run:
|
|
|
|
command: |
|
2020-04-14 05:18:49 +03:00
|
|
|
xvfb-run --auto-servernum npm run ctest
|
|
|
|
xvfb-run --auto-servernum npm run wtest
|
|
|
|
xvfb-run --auto-servernum npm run ftest
|