Skip to content

test: improve matchMedia mocking #382

test: improve matchMedia mocking

test: improve matchMedia mocking #382

Workflow file for this run

name: Coveralls
on:
push:
branches:
- main
pull_request:
permissions: read-all
jobs:
test:
name: Check Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 20.x
cache: yarn
- name: Install
run: yarn --frozen-lockfile --network-timeout 100000 || yarn --frozen-lockfile --network-timeout 100000 || yarn --frozen-lockfile --network-timeout 100000
- run: yarn run contributors
- run: yarn run electron-releases
- name: test
run: yarn test:ci
- name: Coveralls
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 # v2.3.4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}