Skip to content

Commit

Permalink
chore: add Hardhat test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thaixuandang committed Oct 15, 2024
1 parent a097cb5 commit e05d6fd
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ on:
branches:
- mainnet
- testnet
- 'feature/*'
- 'features/*'
- "feature/*"
- "features/*"
pull_request:
branches:
- mainnet
- testnet
- 'feature/*'
- 'features/*'
- "feature/*"
- "features/*"
- "test/*"

env:
FOUNDRY_PROFILE: ci
Expand Down Expand Up @@ -44,3 +45,16 @@ jobs:
run: |
forge test -vvv
id: test

- uses: actions/setup-node@v1
with:
node-version: 18.x

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

- name: Run Hardhat compile
run: yarn compile

- name: Run Hardhat unit tests
run: yarn test

0 comments on commit e05d6fd

Please sign in to comment.