Skip to content

Commit

Permalink
test: add hardhat ci
Browse files Browse the repository at this point in the history
  • Loading branch information
QGarchery committed Jul 11, 2023
1 parent f7ec5ff commit 7b4a7b6
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/hardhat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Hardhat

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

jobs:
yarn-test:
strategy:
fail-fast: true

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

- name: Install node
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Run Hardhat tests
run: yarn test

0 comments on commit 7b4a7b6

Please sign in to comment.