Skip to content

Commit

Permalink
try fixing workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-aurele-besner committed Sep 9, 2023
1 parent 27ebb4d commit 6d29918
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/foundry-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ jobs:
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly
- name: Move to Smart Contracts folder
run: cd smart_contract
- name: NPM Clean Install
run: npm ci
run: cd smart_contract && npm ci
- name: Run Forge Test
run: forge test
10 changes: 4 additions & 6 deletions .github/workflows/hardhat-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Move to Smart Contracts folder
run: cd smart_contract
- name: NPM Clean Install
run: npm ci
run: cd smart_contract && npm ci
- name: Hardhat Compile
run: npx hardhat compile
run: cd smart_contract && npx hardhat compile
- name: Hardhat Test
run: npx hardhat test
run: cd smart_contract && npx hardhat test
- name: Hardhat Coverage Result
run: npx hardhat coverage
run: cd smart_contract && npx hardhat coverage

0 comments on commit 6d29918

Please sign in to comment.