From f76c261b166f742b016e89408c27d13a8e042d10 Mon Sep 17 00:00:00 2001 From: Hemang Rajyaguru <129292347+hemang-rajyaguru@users.noreply.github.com> Date: Tue, 14 Nov 2023 21:57:14 +0000 Subject: [PATCH] docs(ci.md): added google cloud CI docs for NodeJs using the playwright Docker Image (#27831) Fixes #27769 --- docs/src/ci.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/src/ci.md b/docs/src/ci.md index cfe23d70bf..280602cbe1 100644 --- a/docs/src/ci.md +++ b/docs/src/ci.md @@ -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