Merge pull request #41 from subspace/40-add-a-farcasterwarpcast-flow-… #114
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: NPM Clean Install | |
run: npm ci | |
working-directory: smart_contract | |
- name: Run Forge Test | |
run: forge test | |
working-directory: smart_contract |