playwright/.circleci/config.yml
Andrey Lushnikov 193582445d
devops: add package-lock.json (#1859) (#1889)
We need to commit `package-lock.json` to repository to ensure
reproducible builds.

This also starts using [`npm ci`](https://docs.npmjs.com/cli/ci.html) to
install dependencies.

Drive-by: remove non-functioning `rebase` workflow.
2020-04-20 16:57:01 -07:00

25 lines
560 B
YAML

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