Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: use microsoft/playwright-github-action@v1 everywhere (#3735)

Andrey Lushnikov216db2c9b38d
diff --git a/.github/workflows/infra.yml b/.github/workflows/infra.yml
index 7523e3d887..ec64e35cd5 100644
--- a/.github/workflows/infra.yml
+++ b/.github/workflows/infra.yml
@@ -19,12 +19,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 10.15
- - name: install required packages
- run: |
- sudo apt-get update
- sudo apt-get install libgbm-dev
- sudo apt-get install xvfb
- sudo apt-get install ffmpeg
+ - uses: microsoft/playwright-github-action@v1
- run: npm ci
- run: npm run build
- run: npm run lint
diff --git a/.github/workflows/publish_canary_docker.yml b/.github/workflows/publish_canary_docker.yml
index 0e8b74d826..ab84351638 100644
--- a/.github/workflows/publish_canary_docker.yml
+++ b/.github/workflows/publish_canary_docker.yml
@@ -22,6 +22,7 @@ jobs:
login-server: playwright.azurecr.io
username: playwright
password: ${{ secrets.DOCKER_PASSWORD }}
+ - uses: microsoft/playwright-github-action@v1
- uses: actions/setup-node@v1
with:
node-version: 10.15