Skip to content

Update unit-test.yml #10

Update unit-test.yml

Update unit-test.yml #10

Workflow file for this run

name: Run Hardhat Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Run tests with Hardhat
runs-on: ubuntu-latest
env:
CI: 'true'
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Run Hardhat tests
run: npx hardhat test