Skip to content

Commit

Permalink
Fix Playwright install step
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Gudahtt committed Jan 25, 2023
1 parent 3d87f65 commit 473a612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ jobs:
at: .
- run:
name: Install Playwright browsers
command: yarn dlx playwright install
command: yarn exec playwright install
- run:
name: Test Storybook
command: yarn test-storybook:ci
Expand Down

0 comments on commit 473a612

Please sign in to comment.