Merge branch 'improve-cleanup-faucet-contracts' of https://github.com… #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Foundry Test with NPM | |
on: [push] | |
jobs: | |
test_foundry_npm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install Foundry | |
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 | |
- name: Run Forge Test | |
run: forge test |