mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 22:22:53 +03:00
184b25ff7b
Mac will come in a follow up! As a drive-by, removed npm build everywhere, because npm install already runs build.
36 lines
642 B
YAML
36 lines
642 B
YAML
name: Firefox 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 install xvfb
|
|
|
|
- name: npm install, build, and test
|
|
run: |
|
|
npm install
|
|
xvfb-run --auto-servernum npm run ftest
|
|
env:
|
|
CI: true
|