Bump copy-webpack-plugin from 11.0.0 to 12.0.2 in /www (#203) #449
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |