Skip to content

Zp/change ganache

Zp/change ganache #168

Workflow file for this run

name: Unit Tests
on:
pull_request:
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
env:
DEBUG_TEST_SETUP: true
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install # npm install instead of npm ci is used to prevent unsupported platform errors due to the fsevents sub-dependency
- name: Setup Deno
uses: denolib/setup-deno@v2
with:
deno-version: '1.36.2'
# 'integration' are the Jest tests that cover code in unit-testing way, so both are included
- name: Run unit tests
run: npm run test:ci
- name: Upload test coverage report
if: always()
uses: actions/[email protected]
with:
name: unit-tests-coverage
path: ./coverage/lcov.info