mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
216db2c9b3
Since we launch browsers as part of the `npm run build`, we need to prepare environment.
26 lines
444 B
YAML
26 lines
444 B
YAML
name: "infra"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- release-*
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- release-*
|
|
|
|
jobs:
|
|
doc-and-lint:
|
|
name: "docs & lint"
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 10.15
|
|
- uses: microsoft/playwright-github-action@v1
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- run: npm run lint
|