playwright/.github/workflows/firefox.yml

37 lines
658 B
YAML
Raw Normal View History

name: Firefox Tests
2019-12-12 04:20:46 +03:00
on:
push:
branches:
- master
pull_request:
branches:
- master
2019-12-12 04:20:46 +03:00
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: |
2019-12-12 04:22:51 +03:00
npm install
npm run build
2019-12-12 04:20:46 +03:00
xvfb-run --auto-servernum npm run funit
env:
CI: true