Skip to content

Merge pull request #20 from HuolalaTech/fix/moveable #93

Merge pull request #20 from HuolalaTech/fix/moveable

Merge pull request #20 from HuolalaTech/fix/moveable #93

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 --silent
- name: Coveralls
uses: coverallsapp/github-action@v2