Skip to content

Replace bitcoin-rpc-promise-retry by @mr-zwets/bchn-api-wrapper (#229) #48

Replace bitcoin-rpc-promise-retry by @mr-zwets/bchn-api-wrapper (#229)

Replace bitcoin-rpc-promise-retry by @mr-zwets/bchn-api-wrapper (#229) #48

# Simple automation of tests on pushes to master branch
name: tests
on:
push:
branches:
- 'master'
# - 'next'
# pull_request:
# branches:
# - '*'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# single job for testing, linting and spellcheck
testing:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
- run: yarn
- run: TESTS_USE_MOCKNET=true yarn test -- -- --coverage --coverageProvider=v8
- run: yarn lint
- run: yarn spellcheck