Skip to content

Commit 7ec7f72

Browse files
committed
devops: add docs & lint github workflow
1 parent 9bbaa32 commit 7ec7f72

File tree

7 files changed

+43
-7
lines changed

7 files changed

+43
-7
lines changed

.github/workflows/chromium-linux.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Chromium Linux Tests
1+
name: tests: Linux + CR
22

33
on:
44
push:
@@ -32,7 +32,6 @@ jobs:
3232
- name: npm install, build, and test
3333
run: |
3434
npm install
35-
npm run build
3635
xvfb-run --auto-servernum npm run ctest
3736
env:
3837
CI: true

.github/workflows/chromium-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Chromium Windows Tests
1+
name: tests: Win + CR
22

33
on:
44
push:

.github/workflows/docs-and-lint.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: docs & lint
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ubuntu-18.04
15+
16+
strategy:
17+
matrix:
18+
node-version: [12.x]
19+
20+
steps:
21+
- uses: actions/checkout@v1
22+
- name: Use Node.js ${{ matrix.node-version }}
23+
uses: actions/setup-node@v1
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
- name: install required packages
27+
run: |
28+
sudo apt-get update
29+
sudo apt-get install libgbm-dev
30+
sudo apt-get install xvfb
31+
32+
- name: npm install, build, and test
33+
run: |
34+
npm install
35+
npm run lint
36+
env:
37+
CI: true

.github/workflows/firefox-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Firefox Linux Tests
1+
name: tests: Linux + FF
22

33
on:
44
push:

.github/workflows/firefox-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Firefox Windows Tests
1+
name: tests: Win + FF
22

33
on:
44
push:

.github/workflows/webkit-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: WebKit Linux Tests
1+
name: tests: Linux + WK
22

33
on:
44
push:

.github/workflows/webkit-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: WebKit Windows Tests
1+
name: tests: Win + WK
22

33
on:
44
push:

0 commit comments

Comments
 (0)