docs(ci.md): added google cloud CI docs for NodeJs using the playwright Docker Image (#27831)

Fixes #27769
This commit is contained in:
Hemang Rajyaguru 2023-11-14 21:57:14 +00:00 committed by GitHub
parent 0a052cb4d6
commit f76c261b16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -587,6 +587,19 @@ tests:
- npm ci
- npx playwright test --project=$PROJECT --shard=$SHARD
```
### Google Cloud Build
* langs: js
To run Playwright tests on Google Cloud Build, use our public Docker image ([see Dockerfile](./docker.md)).
```yml
steps:
- name: mcr.microsoft.com/playwright:v%%VERSION%%-jammy
script:
...
env:
- 'CI=true'
```
## Caching browsers