Skip to content

Fix #2862

Fix #2862 #15135

Workflow file for this run

name: Build and Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
persist-credentials: false
- name: Set Node Version
uses: actions/setup-node@v2
with:
node-version: 'v18.16.0'
- name: Install dependencies
run: yarn
- name: Build
run: npm run-script build:ci
test-on-chrome:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
persist-credentials: false
- name: Set Node Version
uses: actions/setup-node@v2
with:
node-version: 'v18.16.0'
- name: Install dependencies
run: yarn
- name: Install Chrome
uses: browser-actions/setup-chrome@latest
- name: Test with Chrome
uses: GabrielBB/xvfb-action@v1
with:
run: npm run-script test
test-on-firefox:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
persist-credentials: false
- name: Set Node Version
uses: actions/setup-node@v2
with:
node-version: 'v18.16.0'
- name: Install dependencies
run: yarn
- name: Install Firefox
uses: browser-actions/setup-firefox@latest
- name: Test with Firefox
uses: GabrielBB/xvfb-action@v1
with:
run: npm run-script test:firefox