diff --git a/.github/workflows/e2e-playwright.yml b/.github/workflows/e2e-playwright.yml index 8dc1cdd2f3f..b2cb3d21384 100644 --- a/.github/workflows/e2e-playwright.yml +++ b/.github/workflows/e2e-playwright.yml @@ -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: | diff --git a/package.json b/package.json index 6304b171682..0c027651872 100644 --- a/package.json +++ b/package.json @@ -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",