mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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:
parent
1e64efcad1
commit
216db2c9b3
7
.github/workflows/infra.yml
vendored
7
.github/workflows/infra.yml
vendored
@ -19,12 +19,7 @@ jobs:
|
|||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 10.15
|
node-version: 10.15
|
||||||
- name: install required packages
|
- uses: microsoft/playwright-github-action@v1
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install libgbm-dev
|
|
||||||
sudo apt-get install xvfb
|
|
||||||
sudo apt-get install ffmpeg
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
|
1
.github/workflows/publish_canary_docker.yml
vendored
1
.github/workflows/publish_canary_docker.yml
vendored
@ -22,6 +22,7 @@ jobs:
|
|||||||
login-server: playwright.azurecr.io
|
login-server: playwright.azurecr.io
|
||||||
username: playwright
|
username: playwright
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
- uses: microsoft/playwright-github-action@v1
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 10.15
|
node-version: 10.15
|
||||||
|
Loading…
x
Reference in New Issue
Block a user