Skip to content

Merge pull request #50 from autonomys/feat/display-explorer-url #131

Merge pull request #50 from autonomys/feat/display-explorer-url

Merge pull request #50 from autonomys/feat/display-explorer-url #131

Workflow file for this run

name: Run Hardhat Test with NPM
on:
push:
workflow_dispatch:
jobs:
test_hardhat_npm:
runs-on: ubuntu-latest
defaults:
run:
working-directory: smart_contract
name: Hardhat Test
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install dependencies
run: yarn install
- name: Hardhat Compile
run: npx hardhat compile
- name: Hardhat Test
run: npx hardhat test
- name: Hardhat Coverage Result
run: npx hardhat coverage