From bccdaec8b483fba55818e3e6253ec83be354449e Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Mon, 2 Mar 2020 18:34:24 -0800 Subject: [PATCH] chore(ci): add circle ci (#1188) --- .circleci/config.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000000..f35d4b11b4 --- /dev/null +++ b/.circleci/config.yml @@ -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