playwright/.github/workflows/infra.yml
Andrey Lushnikov 216db2c9b3
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.
2020-09-02 11:32:59 -07:00

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