Skip to content

Bump @types/mocha from 10.0.2 to 10.0.3 in /www (#148) #324

Bump @types/mocha from 10.0.2 to 10.0.3 in /www (#148)

Bump @types/mocha from 10.0.2 to 10.0.3 in /www (#148) #324

name: Build Contracts
on: [push]
jobs:
build-contracts:
name: Build smart contracts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup NodeJS 16
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Show NodeJS version
run: npm --version
- name: Install Truffle
run: npm install truffle -g
- name: Install Dependencies
run: cd blockchain && npm ci
- name: Run tests & Generate coverage
run: cd blockchain && truffle run coverage
- name: Send coverage to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./blockchain/coverage/lcov.info