Skip to content

Commit

Permalink
Restore npx playwright install --with-deps to install browsers on gh
Browse files Browse the repository at this point in the history
Remove postinstall --with-deps so that npm install does not require
root privilege
  • Loading branch information
prushforth committed Nov 15, 2024
1 parent 2ed3dca commit ddba5df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
node-version: latest
- run: sudo apt-get install xvfb
- run: npm install
- run: npx playwright install --with-deps
- run: npm install -g grunt-cli
- run: grunt default
- run: xvfb-run --auto-servernum -- npx playwright test --grep-invert="popupTabNavigation\.test\.js|layerContextMenuKeyboard\.test\.js" --workers=1 --retries=3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
],
"scripts": {
"test-serve": "node test/server.js",
"postinstall": "npx playwright install --with-deps",
"postinstall": "npx playwright install",
"test": "npx playwright test --retries=3 --workers=1"
},
"devDependencies": {
Expand Down

0 comments on commit ddba5df

Please sign in to comment.