Migrate from truffle to hardhat - Close #AM-2912 #46
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [dev, master, main, wrapped-assets] | |
pull_request: | |
branches: [dev, master, main, wrapped-assets] | |
workflow_dispatch: | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup NodeJS 18 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.16.0 | |
- name: Show NodeJS version | |
run: npm --version | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Install Project Dependencies | |
run: npm install | |
- name: Run Hardhat Tests | |
run: npx hardhat coverage |