chore(ci): add circle ci (#1188)
This commit is contained in:
parent
31e26a2208
commit
bccdaec8b4
26
.circleci/config.yml
Normal file
26
.circleci/config.yml
Normal 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
|
||||||
Loading…
Reference in a new issue