Skip to content

Publish

Publish #541

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
name: Send test coverage to coveralls
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: yarn install, yarn test
# fake-indexeddb using `structureClone` which import in node^18,
# and we import the polyfill with `import 'core-js/stable/structured-clone'`
# to resolve it, so here we pass --ignore-engines after `yarn install` to ignore the error.
run: |
yarn install --ignore-engines
yarn test --coverage
- name: Coveralls
uses: coverallsapp/github-action@v2