Skip to content

Commit f5a89bf

Browse files
tembo[bot]tmdh
andauthored
fix(ci): use yarn commands instead of npx for Playwright installation and testing
Co-authored-by: Tareque <tarequemd.hanif@yahoo.com>
1 parent 9e70268 commit f5a89bf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/playwright-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: yarn prod
3737

3838
- name: Install Playwright
39-
run: npx playwright install --with-deps chromium
39+
run: yarn playwright install --with-deps chromium
4040

4141
- name: Run Playwright tests
4242
run: xvfb-run --auto-servernum -- yarn test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"dev:two": "node build.js --dev && electron .",
1212
"prod": "vite build && node build.js --prod",
1313
"start": "electron .",
14-
"test": "npx playwright test",
14+
"test": "playwright test",
1515
"pack": "electron-builder --dir",
1616
"release": "electron-builder"
1717
},

0 commit comments

Comments
 (0)