Skip to content

Commit 79682fc

Browse files
committed
fix(ci): revise Playwright installation for CI
* Revise Playwright installation for CI.
1 parent 94676df commit 79682fc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
run: pnpm install
4343
- name: Print put node & npm version
4444
run: node --version && pnpm --version
45+
# Pin the version of Playwright to match package.json to avoid installing a newer version which may expect different binaries
4546
- name: Install chromium
4647
run: npx [email protected] install chromium
4748
- name: Run unit test

packages/less/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"less-plugin-clean-css": "^1.6.0",
8585
"minimist": "^1.2.0",
8686
"mocha": "^6.2.1",
87-
"playwright": "^1.49.0",
87+
"playwright": "~1.50.1",
8888
"mocha-teamcity-reporter": "^3.0.0",
8989
"nock": "^11.8.2",
9090
"npm-run-all": "^4.1.5",

0 commit comments

Comments
 (0)