docs(ci.md): added google cloud CI docs for NodeJs using the playwright Docker Image (#27831)
Fixes #27769
This commit is contained in:
parent
0a052cb4d6
commit
f76c261b16
|
|
@ -587,6 +587,19 @@ tests:
|
||||||
- npm ci
|
- npm ci
|
||||||
- npx playwright test --project=$PROJECT --shard=$SHARD
|
- 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
|
## Caching browsers
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue