mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 19:04:43 +03:00
devops: add docs & lint github workflow
This commit is contained in:
parent
9bbaa32e12
commit
7ec7f72a74
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:
|
||||
push:
|
||||
@ -32,7 +32,6 @@ jobs:
|
||||
- name: npm install, build, and test
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
xvfb-run --auto-servernum npm run ctest
|
||||
env:
|
||||
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:
|
||||
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:
|
||||
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:
|
||||
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:
|
||||
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:
|
||||
push:
|
||||
|
Loading…
Reference in New Issue
Block a user