mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
0de625d3ac
This breaks YML syntax in GH workflows
39 lines
733 B
YAML
39 lines
733 B
YAML
name: Chromium Linux Tests
|
|
|
|
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 build
|
|
xvfb-run --auto-servernum npm run ctest
|
|
env:
|
|
CI: true
|