mirror of
https://github.com/less/less.js.git
synced 2026-01-09 15:48:08 -05:00
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:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -42,7 +42,8 @@ jobs:
|
|||||||
run: pnpm install
|
run: pnpm install
|
||||||
- name: Print put node & npm version
|
- name: Print put node & npm version
|
||||||
run: node --version && pnpm --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
|
- name: Install chromium
|
||||||
run: npx playwright install chromium
|
run: npx playwright@1.50.1 install chromium
|
||||||
- name: Run unit test
|
- name: Run unit test
|
||||||
run: pnpm run test
|
run: pnpm run test
|
||||||
|
|||||||
@@ -84,7 +84,7 @@
|
|||||||
"less-plugin-clean-css": "^1.6.0",
|
"less-plugin-clean-css": "^1.6.0",
|
||||||
"minimist": "^1.2.0",
|
"minimist": "^1.2.0",
|
||||||
"mocha": "^6.2.1",
|
"mocha": "^6.2.1",
|
||||||
"playwright": "^1.49.0",
|
"playwright": "~1.50.1",
|
||||||
"mocha-teamcity-reporter": "^3.0.0",
|
"mocha-teamcity-reporter": "^3.0.0",
|
||||||
"nock": "^11.8.2",
|
"nock": "^11.8.2",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
|
|||||||
10843
pnpm-lock.yaml
generated
10843
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user