mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 22:22:53 +03:00
193582445d
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.
25 lines
560 B
YAML
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
|