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

Since we launch browsers as part of the `npm run build`, we need
to prepare environment.
This commit is contained in:
Andrey Lushnikov 2020-09-02 11:32:59 -07:00 committed by GitHub
parent 1e64efcad1
commit 216db2c9b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -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

View File

@ -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