Skip to content

fix: Add gas cost and token balance hooks tests and simplify functions #6255

fix: Add gas cost and token balance hooks tests and simplify functions

fix: Add gas cost and token balance hooks tests and simplify functions #6255

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./webapp
steps:
- uses: actions/checkout@master
- name: Use Node.js 18.x
uses: actions/setup-node@v4.0.1
with:
node-version: 18.x
cache: "npm"
cache-dependency-path: webapp/package-lock.json
- name: Install
run: npm install --legacy-peer-deps
- name: Test
run: npm run test:coverage
- name: report coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: ./webapp
path-to-lcov: ./webapp/coverage/lcov.info