Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Add hardhat test to CI #198

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: test

on:
workflow_dispatch:
pull_request:
push:
branches:
- main

jobs:
check:
strategy:
fail-fast: true

name: Hardhat tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: npm ci --ignore-scripts

- name: Run Hardhat tests
run: |
npx hardhat test
id: test