docs(ci): fix wrong CircleCI environment vars (#19887)

This commit is contained in:
Ori Livni 2023-01-05 12:10:28 +02:00 committed by GitHub
parent 388a3e1f37
commit 655d788c8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -370,8 +370,6 @@ Running Playwright on CircleCI is very similar to running on GitHub Actions. In
pw-focal-development:
docker:
- image: mcr.microsoft.com/playwright:v1.30.0-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
```
Note: When using the docker agent definition, you are specifying the resource class of where playwright runs to the 'medium' tier [here](https://circleci.com/docs/configuration-reference?#docker-execution-environment). The default behavior of Playwright is to set the number of workers to the detected core count (2 in the case of the medium tier). Overriding the number of workers to greater than this number will cause unnecessary timeouts and failures.