fix(ci): revise playwright install for CI (#4322)

* Revise Playwright install method for CI to avoid browser binary
  mismatch issues.
This commit is contained in:
Daniel Puckowski
2025-03-29 23:54:49 -04:00
committed by GitHub
parent 628dbafbf6
commit ddef3ebd2d
3 changed files with 6040 additions and 4808 deletions

View File

@@ -42,7 +42,8 @@ jobs:
run: pnpm install
- name: Print put node & npm version
run: node --version && pnpm --version
# Pin the version of Playwright to match package.json to avoid installing a newer version which may expect different binaries
- name: Install chromium
run: npx playwright install chromium
run: npx playwright@1.50.1 install chromium
- name: Run unit test
run: pnpm run test

View File

@@ -84,7 +84,7 @@
"less-plugin-clean-css": "^1.6.0",
"minimist": "^1.2.0",
"mocha": "^6.2.1",
"playwright": "^1.49.0",
"playwright": "~1.50.1",
"mocha-teamcity-reporter": "^3.0.0",
"nock": "^11.8.2",
"npm-run-all": "^4.1.5",

10843
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff