chore: udpate README and added comments for examples #361
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: Contracts | |
on: | |
push: | |
branches: ["*"] | |
pull_request: | |
branches: ["*"] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install packages | |
uses: actions/setup-node@v3 | |
with: | |
#Remove the restriction as soon as this is resolved: https://github.com/NomicFoundation/hardhat/issues/3877 | |
node-version: "18.15" | |
- run: | | |
cd contracts | |
npm ci | |
- name: Run Tests | |
run: | | |
cd contracts | |
npx hardhat node & npx hardhat coverage |