Web worker #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will do a clean install of node dependencies, build the library, run testem for firefox | |
name: Unit tests on Firefox | |
on: | |
push: | |
branches: [ master, 5.x ] | |
pull_request: | |
branches: [ master, 5.x ] | |
jobs: | |
firefox-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Unit tests on Firefox | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- run: npm ci | |
- run: npm run build:fast | |
- name: Run headless test | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
run: npm run testem:ci -- --port 8080 -f testem.json -l Firefox |