Skip to content

chore(deps): update dependency chai to v5 #272

chore(deps): update dependency chai to v5

chore(deps): update dependency chai to v5 #272

Workflow file for this run

name: Build and test
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
DISPLAY: :99.0
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
browser: ['ChromeCi', 'Firefox']
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Setup firefox
if: ${{ matrix.browser == 'Firefox' }}
uses: browser-actions/setup-firefox@latest
with:
firefox-version: 'latest'
- name: Setup xvfb
run: |
sudo apt-get install xvfb
Xvfb $DISPLAY -screen 0 1024x768x24 > /dev/null 2>&1 &
- run: yarn install --frozen-lockfile
- env:
BROWSER: ${{ matrix.browser }}
run: yarn test --coverage
- run: node_modules/.bin/codecov