mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-10-26 18:34:36 +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
|
||||
run: pnpm install
|
||||
|
||||
- name: Setup Playwright (Chromium)
|
||||
uses: microsoft/playwright-github-action@v1
|
||||
with:
|
||||
browsers: chromium
|
||||
- name: Install Playwright
|
||||
run: pnpm exec playwright install --with-deps chromium
|
||||
|
||||
- name: Lint
|
||||
run: pnpm run lint
|
||||
|
||||
@ -19,5 +19,5 @@ We run Vitest in browser mode using Playwright (Chromium) with `vitest-browser-v
|
||||
## CI
|
||||
|
||||
- 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.
|
||||
|
||||
Reference in New Issue
Block a user