mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-10-27 02:43:58 +08:00
chore: fix playwright installation
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -28,10 +28,8 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
- name: Setup Playwright (Chromium)
|
- name: Install Playwright
|
||||||
uses: microsoft/playwright-github-action@v1
|
run: pnpm exec playwright install --with-deps chromium
|
||||||
with:
|
|
||||||
browsers: chromium
|
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: pnpm run lint
|
run: pnpm run lint
|
||||||
|
|||||||
@ -19,5 +19,5 @@ We run Vitest in browser mode using Playwright (Chromium) with `vitest-browser-v
|
|||||||
## CI
|
## CI
|
||||||
|
|
||||||
- CI runs tests with coverage and uploads LCOV to Codecov (non-blocking).
|
- CI runs tests with coverage and uploads LCOV to Codecov (non-blocking).
|
||||||
- Chromium is provisioned via the Playwright GitHub Action.
|
- Chromium is installed via Playwright CLI with system deps: `pnpm exec playwright install --with-deps chromium`.
|
||||||
- Optional: restrict Codecov uploads to PRs and `main` via a workflow condition.
|
- Optional: restrict Codecov uploads to PRs and `main` via a workflow condition.
|
||||||
|
|||||||
Reference in New Issue
Block a user