Skip to content

Commit

Permalink
add npm script to download browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Dec 11, 2024
1 parent 4dc6d5c commit fc3fdce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ npx cross-env PW=1.39 npm run pw
Install corresponding browsers without clearing other versions:
```
npx cross-env PLAYWRIGHT_SKIP_BROWSER_GC=1 npx playwright install chromium
npm run browsers
```
Run tests:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"docs": "docsify serve ./docs",
"docs:validate": "ts-node scripts/validate-docs.ts",
"pw": "npm i --no-save @playwright/test@$PW @playwright/experimental-ct-react@$PW",
"browsers": "npx cross-env PLAYWRIGHT_SKIP_BROWSER_GC=1 playwright install chromium",
"release": "bash scripts/release.sh"
},
"dependencies": {
Expand Down

0 comments on commit fc3fdce

Please sign in to comment.