mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Fix Playwright install step (#17415)
The Playwright install step run in the `test-storybook` job has been updated to ensure that we are running the correct install command. Previously we were using `yarn dlx`, which would use the latest version of `Playwright` rather than the one currently installed. Instead now we are using `yarn exec`, which will invoke the `playwright` binary from the locally installed package. This binary has an `install` command that completes the necessary setup, which is to install custom patched browsers for Playwright to run.
This commit is contained in:
parent
3d87f65d9b
commit
d2331c0e0b
@ -524,7 +524,7 @@ jobs:
|
|||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
name: Install Playwright browsers
|
name: Install Playwright browsers
|
||||||
command: yarn dlx playwright install
|
command: yarn exec playwright install
|
||||||
- run:
|
- run:
|
||||||
name: Test Storybook
|
name: Test Storybook
|
||||||
command: yarn test-storybook:ci
|
command: yarn test-storybook:ci
|
||||||
|
Loading…
Reference in New Issue
Block a user