Skip to content

Commit f7d755b

Browse files
committed
Try installing from package script.
1 parent e035f91 commit f7d755b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/browser.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ jobs:
4444
size_limit: 25000
4545

4646
# Contract Tests
47-
- name: Install Playwright browsers
48-
run: npx playwright install --with-deps chromium
49-
5047
- name: Install contract test dependencies
5148
run: yarn workspaces focus browser-contract-test-adapter browser-contract-test-service
5249

50+
- name: Install Playwright browsers
51+
run: yarn workspace browser-contract-test-service install-playwright-browsers
52+
5353
- name: Build contract test adapter
5454
run: yarn workspace browser-contract-test-adapter run build
5555

packages/sdk/browser/contract-tests/entity/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"type": "module",
66
"description": "Contract test service implementation for @launchdarkly/js-client-sdk",
77
"scripts": {
8+
"install-playwright-browsers": "playwright install --with-deps chromium",
89
"start": "tsc --noEmit && vite --open=true",
910
"build": "tsc --noEmit && vite build",
1011
"lint": "eslint ./src",

0 commit comments

Comments
 (0)