Skip to content

Commit 2818332

Browse files
committed
Switch to playwright for the vitest provider.
webdriverio has a higher configuration cost and there's currently a bug with GitHub actions, linux and chrome that makes it annoying. Switching to playwright should side-step that all. Explicitly mention the emnapi packages to ensure they show up in the lock file for runs on linux.
1 parent 577358d commit 2818332

4 files changed

Lines changed: 690 additions & 3953 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
cache-dependency-path: package-lock.json
3636
- name: Install Node dependencies
3737
run: npm ci
38+
- name: Install Playwright browsers
39+
run: npx playwright install --with-deps chromium firefox
3840
- run: npm test
3941
- uses: davelosert/vitest-coverage-report-action@02f3c2e641286b7fa308cd3e430783103ce6103b # v2.12.0
4042

0 commit comments

Comments
 (0)