2020-02-13 00:52:06 +03:00
|
|
|
name: "infra"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-04-22 05:20:19 +03:00
|
|
|
- release-*
|
2020-02-13 00:52:06 +03:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-04-22 05:20:19 +03:00
|
|
|
- release-*
|
2020-02-13 00:52:06 +03:00
|
|
|
|
|
|
|
env:
|
|
|
|
CI: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
doc-and-lint:
|
|
|
|
name: "docs & lint"
|
|
|
|
runs-on: ubuntu-18.04
|
|
|
|
steps:
|
2020-03-06 20:40:54 +03:00
|
|
|
- uses: actions/checkout@v2
|
2020-02-13 00:52:06 +03:00
|
|
|
- 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
|
2020-04-21 02:57:01 +03:00
|
|
|
- run: npm ci
|
2020-07-02 01:22:29 +03:00
|
|
|
- run: npm run build
|
2020-02-13 00:52:06 +03:00
|
|
|
- run: npm run lint
|