playwright/.github/workflows/infra.yml
Andrey Lushnikov 5c9ebfaa79
chore(ci): bump checkout action to v2 (#1263)
This should fix the checkout problems we're facing.
Related discussion: https://github.com/actions/checkout/issues/23
2020-03-06 09:40:54 -08:00

30 lines
508 B
YAML

name: "infra"
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
CI: true
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
- name: install required packages
run: |
sudo apt-get update
sudo apt-get install libgbm-dev
sudo apt-get install xvfb
- run: npm install
- run: npm run lint