devops: add docs & lint github workflow (#953)
This commit is contained in:
parent
0de625d3ac
commit
1f29930201
3
.github/workflows/chromium-linux.yml
vendored
3
.github/workflows/chromium-linux.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: Chromium Linux Tests
|
name: "tests: Linux + CR"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
@ -32,7 +32,6 @@ jobs:
|
||||||
- name: npm install, build, and test
|
- name: npm install, build, and test
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
|
||||||
xvfb-run --auto-servernum npm run ctest
|
xvfb-run --auto-servernum npm run ctest
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
|
|
||||||
2
.github/workflows/chromium-windows.yml
vendored
2
.github/workflows/chromium-windows.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: Chromium Windows Tests
|
name: "tests: Win + CR"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
|
||||||
37
.github/workflows/docs-and-lint.yml
vendored
Normal file
37
.github/workflows/docs-and-lint.yml
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
name: "docs & lint"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
- name: install required packages
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install libgbm-dev
|
||||||
|
sudo apt-get install xvfb
|
||||||
|
|
||||||
|
- name: npm install, build, and test
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run lint
|
||||||
|
env:
|
||||||
|
CI: true
|
||||||
2
.github/workflows/firefox-linux.yml
vendored
2
.github/workflows/firefox-linux.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: Firefox Linux Tests
|
name: "tests: Linux + FF"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
|
||||||
2
.github/workflows/firefox-windows.yml
vendored
2
.github/workflows/firefox-windows.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: Firefox Windows Tests
|
name: "tests: Win + FF"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
|
||||||
2
.github/workflows/webkit-linux.yml
vendored
2
.github/workflows/webkit-linux.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: WebKit Linux Tests
|
name: "tests: Linux + WK"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
|
||||||
2
.github/workflows/webkit-windows.yml
vendored
2
.github/workflows/webkit-windows.yml
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
name: WebKit Windows Tests
|
name: "tests: Win + WK"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue