fix: playwright installation command (#53900)

This commit is contained in:
Huyen Nguyen
2024-02-28 15:19:01 +07:00
committed by GitHub
parent 8a87b8ee39
commit d08e497686
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -136,9 +136,7 @@ jobs:
run: npm i -g pm2
- name: Install playwright dependencies
run: |
npx playwright install
npx playwright install-deps
run: npx playwright install --with-deps
- name: Run playwright tests
run: |
+1 -1
View File
@@ -68,7 +68,7 @@
"lint:prettier": "prettier --list-different .",
"reload:server": "pm2 reload api-server/ecosystem.config.js",
"preseed": "npm-run-all create:shared",
"playwright:install-build-tools": "cd ./e2e && npm i && npx playwright install && npx playwright install-deps",
"playwright:install-build-tools": "npx playwright install --with-deps",
"playwright:install-build-tools-linux": "sh ./playwright-install.sh",
"rename-challenges": "ts-node tools/challenge-helper-scripts/rename-challenge-files.ts",
"seed": "pnpm seed:surveys && pnpm seed:exams && cross-env DEBUG=fcc:* node ./tools/scripts/seed/seed-demo-user",