chore(ci): add circle ci (#1188)

This commit is contained in:
Andrey Lushnikov 2020-03-02 18:34:24 -08:00 committed by GitHub
parent 31e26a2208
commit bccdaec8b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

26
.circleci/config.yml Normal file
View File

@ -0,0 +1,26 @@
version: 2
jobs:
build:
docker:
- image: aslushnikov/playwright
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./.local-chromium
- ./.local-firefox
- ./.local-webkit
- run:
command: |
xvfb-run --auto-servernum npm run ctest
xvfb-run --auto-servernum npm run ftest
xvfb-run --auto-servernum npm run wtest